Browse Source

Add a warning to not modify this file (#6235)

pull/6291/head
Oscar Hinton 2 years ago committed by GitHub
parent
commit
86c5bd111c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      apps/web/src/app/app.module.ts
  2. 6
      bitwarden_license/bit-web/src/app/app.module.ts

8
apps/web/src/app/app.module.ts

@ -9,9 +9,14 @@ import { AppComponent } from "./app.component"; @@ -9,9 +9,14 @@ import { AppComponent } from "./app.component";
import { CoreModule } from "./core";
import { OssRoutingModule } from "./oss-routing.module";
import { OssModule } from "./oss.module";
import { SendComponent } from "./tools/send/send.component";
import { WildcardRoutingModule } from "./wildcard-routing.module";
/**
* This is the AppModule for the OSS version of Bitwarden.
* `bitwarden_license/bit-web/app.module.ts` contains the commercial version.
*
* You probably do not want to modify this file. Consider editing `oss.module.ts` instead.
*/
@NgModule({
imports: [
OssModule,
@ -22,7 +27,6 @@ import { WildcardRoutingModule } from "./wildcard-routing.module"; @@ -22,7 +27,6 @@ import { WildcardRoutingModule } from "./wildcard-routing.module";
DragDropModule,
LayoutModule,
OssRoutingModule,
SendComponent,
WildcardRoutingModule, // Needs to be last to catch all non-existing routes
],
declarations: [AppComponent],

6
bitwarden_license/bit-web/src/app/app.module.ts

@ -19,6 +19,12 @@ import { MaximumVaultTimeoutPolicyComponent } from "./admin-console/policies/max @@ -19,6 +19,12 @@ import { MaximumVaultTimeoutPolicyComponent } from "./admin-console/policies/max
import { AppRoutingModule } from "./app-routing.module";
import { AppComponent } from "./app.component";
/**
* This is the AppModule for the commercial version of Bitwarden.
* `apps/web/app.module.ts` contains the OSS version.
*
* You probably do not want to modify this file. Consider editing `oss.module.ts` instead.
*/
@NgModule({
imports: [
OverlayModule,

Loading…
Cancel
Save