diff --git a/UI/Web/angular.json b/UI/Web/angular.json index bf6818f68..07526c667 100644 --- a/UI/Web/angular.json +++ b/UI/Web/angular.json @@ -14,7 +14,8 @@ "schematics": { "@schematics/angular:component": { "style": "scss", - "changeDetection": "OnPush" + "changeDetection": "OnPush", + "skipTests": true }, "@schematics/angular:application": { "strict": true @@ -99,8 +100,7 @@ "sslKey": "./ssl/server.key", "sslCert": "./ssl/server.crt", "ssl": false, - "buildTarget": "kavita-webui:build", - "proxyConfig": "proxy.conf.json" + "buildTarget": "kavita-webui:build" }, "configurations": { "production": { diff --git a/UI/Web/proxy.conf.json b/UI/Web/proxy.conf.json deleted file mode 100644 index b2ca6d221..000000000 --- a/UI/Web/proxy.conf.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "/api": { - "target": "http://localhost:5000", - "secure": false, - "changeOrigin": true, - "logLevel": "debug" - }, - "/hubs": { - "target": "http://localhost:5000", - "secure": false, - "changeOrigin": true, - "logLevel": "debug", - "ws": true - }, - "/oidc/login": { - "target": "http://localhost:5000", - "secure": false, - "changeOrigin": true, - "logLevel": "debug" - }, - "/oidc/logout": { - "target": "http://localhost:5000", - "secure": false, - "changeOrigin": true, - "logLevel": "debug" - }, - "/signin-oidc": { - "target": "http://localhost:5000", - "secure": false, - "changeOrigin": true - }, - "/signout-callback-oidc": { - "target": "http://localhost:5000", - "secure": false, - "changeOrigin": true - } -} diff --git a/UI/Web/src/environments/environment.ts b/UI/Web/src/environments/environment.ts index 0bb5c7ab1..b86267283 100644 --- a/UI/Web/src/environments/environment.ts +++ b/UI/Web/src/environments/environment.ts @@ -6,8 +6,8 @@ const IP = 'localhost'; export const environment = { production: false, - apiUrl: 'http://' + IP + ':4200/api/', - hubUrl: 'http://'+ IP + ':4200/hubs/', + apiUrl: 'http://' + IP + ':5000/api/', + hubUrl: 'http://'+ IP + ':5000/hubs/', buyLink: 'https://buy.stripe.com/test_9AQ5mi058h1PcIo3cf?prefilled_promo_code=FREETRIAL', manageLink: 'https://billing.stripe.com/p/login/test_14kfZocuh6Tz5ag7ss' };