Skip to content

Commit

Permalink
Merge pull request #41 from JuribaDev/hotfix
Browse files Browse the repository at this point in the history
hotfix
  • Loading branch information
JuribaDev authored Sep 1, 2024
2 parents e7c3caa + 1c7134b commit 39a47af
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 135 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
66 changes: 0 additions & 66 deletions apps/client/server.ts

This file was deleted.

4 changes: 1 addition & 3 deletions apps/client/src/app/shared/api-client.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ 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 39a47af

Please sign in to comment.