formation 3 سال پیش
والد
کامیت
d54e173168
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      angular-client/src/app/services/auth.service.ts
  2. 1 1
      build/docker/apache/apache.conf

+ 1 - 1
angular-client/src/app/services/auth.service.ts

@@ -97,7 +97,7 @@ export class AuthService {
   // iscription get  token on login 
   signUP(data): Observable<Token> {
     debugger;
-    return this.http.post<Token>(`${this.apiUrl}/api/auth/signup`, data)
+    return this.http.post<Token>(`${this.apiUrl}api/auth/signup`, data)
       .pipe(map(token => {
         // store jwt token in local storage 
         localStorage.setItem('token', JSON.stringify(token));

+ 1 - 1
build/docker/apache/apache.conf

@@ -20,7 +20,7 @@
 
 <VirtualHost *:443>
    DocumentRoot /var/www/html
-   ServerName angular-preprd.foodgame.fr
+   ServerName angular-preprod.foodgame.fr
    ServerAlias angular-preprod.foodgame.fr
    #SSLEnable
    #SSLEngine ON