[skip ci] Revert proxy stuff in the UI (#3977)

This commit is contained in:
Fesaa 2025-08-03 21:07:35 +02:00 committed by GitHub
parent e5bdb29482
commit b0059128b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 42 deletions

View File

@ -14,7 +14,8 @@
"schematics": { "schematics": {
"@schematics/angular:component": { "@schematics/angular:component": {
"style": "scss", "style": "scss",
"changeDetection": "OnPush" "changeDetection": "OnPush",
"skipTests": true
}, },
"@schematics/angular:application": { "@schematics/angular:application": {
"strict": true "strict": true
@ -99,8 +100,7 @@
"sslKey": "./ssl/server.key", "sslKey": "./ssl/server.key",
"sslCert": "./ssl/server.crt", "sslCert": "./ssl/server.crt",
"ssl": false, "ssl": false,
"buildTarget": "kavita-webui:build", "buildTarget": "kavita-webui:build"
"proxyConfig": "proxy.conf.json"
}, },
"configurations": { "configurations": {
"production": { "production": {

View File

@ -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
}
}

View File

@ -6,8 +6,8 @@ const IP = 'localhost';
export const environment = { export const environment = {
production: false, production: false,
apiUrl: 'http://' + IP + ':4200/api/', apiUrl: 'http://' + IP + ':5000/api/',
hubUrl: 'http://'+ IP + ':4200/hubs/', hubUrl: 'http://'+ IP + ':5000/hubs/',
buyLink: 'https://buy.stripe.com/test_9AQ5mi058h1PcIo3cf?prefilled_promo_code=FREETRIAL', buyLink: 'https://buy.stripe.com/test_9AQ5mi058h1PcIo3cf?prefilled_promo_code=FREETRIAL',
manageLink: 'https://billing.stripe.com/p/login/test_14kfZocuh6Tz5ag7ss' manageLink: 'https://billing.stripe.com/p/login/test_14kfZocuh6Tz5ag7ss'
}; };