Initial commit

This commit is contained in:
Jānis Kacēns
2024-04-10 12:17:24 +03:00
parent 7ebb28f72a
commit 3889e684b4
152 changed files with 27501 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
const { env } = require('process');
const target = env.ASPNETCORE_HTTPS_PORT ? `https://localhost:${env.ASPNETCORE_HTTPS_PORT}` :
env.ASPNETCORE_URLS ? env.ASPNETCORE_URLS.split(';')[0] : 'http://localhost:1384';
const PROXY_CONFIG = [
{
context: [
"/poster",
],
proxyTimeout: 10000,
target: target,
secure: false,
headers: {
Connection: 'Keep-Alive'
}
}
]
module.exports = PROXY_CONFIG;