Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
JuribaDev committed Sep 1, 2024
1 parent 991d6d7 commit 88c075e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 144 deletions.
56 changes: 1 addition & 55 deletions apps/client/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"executor": "@angular-devkit/build-angular:browser",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/apps/client/browser",
"outputPath": "dist/apps/client",
"index": "apps/client/src/index.html",
"main": "apps/client/src/main.ts",
"polyfills": ["zone.js"],
Expand Down Expand Up @@ -97,60 +97,6 @@
"spa": true
}
},
"server": {
"dependsOn": ["build"],
"executor": "@angular-devkit/build-angular:server",
"options": {
"outputPath": "dist/apps/client/server",
"main": "apps/client/server.ts",
"tsConfig": "apps/client/tsconfig.server.json",
"inlineStyleLanguage": "scss"
},
"configurations": {
"production": {
"outputHashing": "media"
},
"development": {
"buildOptimizer": false,
"optimization": false,
"sourceMap": true,
"extractLicenses": false,
"vendorChunk": true
}
},
"defaultConfiguration": "production"
},
"serve-ssr": {
"executor": "@angular-devkit/build-angular:ssr-dev-server",
"configurations": {
"development": {
"browserTarget": "client:build:development",
"serverTarget": "client:server:development"
},
"production": {
"browserTarget": "client:build:production",
"serverTarget": "client:server:production"
}
},
"defaultConfiguration": "development"
},
"prerender": {
"executor": "@angular-devkit/build-angular:prerender",
"options": {
"routes": ["/"]
},
"configurations": {
"development": {
"browserTarget": "client:build:development",
"serverTarget": "client:server:development"
},
"production": {
"browserTarget": "client:build:production",
"serverTarget": "client:server:production"
}
},
"defaultConfiguration": "production"
},
"docker-build": {
"dependsOn": ["build"],
"command": "docker build -f apps/client/Dockerfile . -t client"
Expand Down
77 changes: 0 additions & 77 deletions apps/client/server.ts

This file was deleted.

4 changes: 3 additions & 1 deletion apps/client/src/app/shared/api-client.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ import { environment } from '../../environments/environment';
export class ApiClientService {
private baseUrl = environment.apiUrl;

constructor(private http: HttpClient, private tokenService: TokenService) {}
constructor(private http: HttpClient, private tokenService: TokenService) {

}

private getHeaders(): HttpHeaders {
const token = this.tokenService.getToken();
Expand Down
10 changes: 0 additions & 10 deletions apps/client/tsconfig.server.json

This file was deleted.

2 changes: 1 addition & 1 deletion apps/server/src/shared/origins.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const ORIGINS = [
"https://34.1.32.26",
"https://rnd-platform-client-app-p5qzcycuqa-ww.a.run.app",
"http://localhost:3000",
"http://localhost:4200",
]

0 comments on commit 88c075e

Please sign in to comment.