Skip to content

Commit

Permalink
Update Angular files from source repository
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 28, 2024
1 parent 110307b commit 41f998c
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 246 deletions.
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ngx.webart.work
4 changes: 2 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
{
"type": "initial",
"maximumWarning": "750kb",
"maximumError": "1mb"
"maximumError": "1.5mb"
},
{
"type": "anyComponentStyle",
Expand All @@ -84,7 +84,7 @@
{
"type": "initial",
"maximumWarning": "750kb",
"maximumError": "1mb"
"maximumError": "1.5mb"
},
{
"type": "anyComponentStyle",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"private": true,
"dependencies": {
"@angular/animations": "^19.0.1",
"@angular/cdk": "^19.0.0",
"@angular/cdk": "^19.0.1",
"@angular/common": "^19.0.1",
"@angular/compiler": "^19.0.1",
"@angular/core": "^19.0.1",
Expand Down
22 changes: 8 additions & 14 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { environment } from 'src/environments/environment';
import { AuthenticatedGuard } from './core/guards/authenticated.guard';
import { GuestGuard } from './core/guards/guest.guard';
import { AdminsGuard } from './core/guards/admins.guard';
import { HashLocationStrategy, LocationStrategy } from '@angular/common';

const routes: Routes = [
{
Expand All @@ -39,19 +40,6 @@ const routes: Routes = [
(m) => m.ComponentsModule
)
},
{
path: 'test',
canActivate: [MetaGuard],
data: {
meta: {
title: 'test'
}
},
loadChildren: () =>
import('./pages/guest/test/test.module').then(
(m) => m.TestModule
)
},
{
path: 'sign',
canActivate: [MetaGuard],
Expand Down Expand Up @@ -188,7 +176,13 @@ const routes: Routes = [
preloadingStrategy: PreloadAllModules
})
],
providers: [AuthenticatedGuard, GuestGuard, AdminsGuard],
providers: [
/* providers */
{ provide: LocationStrategy, useClass: HashLocationStrategy },
AuthenticatedGuard,
GuestGuard,
AdminsGuard
],
bootstrap: [AppComponent]
})
export class AppModule {}
144 changes: 0 additions & 144 deletions src/app/pages/guest/test/test.component.html

This file was deleted.

52 changes: 0 additions & 52 deletions src/app/pages/guest/test/test.component.scss

This file was deleted.

7 changes: 0 additions & 7 deletions src/app/pages/guest/test/test.component.ts

This file was deleted.

25 changes: 0 additions & 25 deletions src/app/pages/guest/test/test.module.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ export const environment = {
roles: [],
production: true,
appId: 'test',
url: ''
url: 'https://webart.work'
};

0 comments on commit 41f998c

Please sign in to comment.