1
0
Fork 0

Add Traefik Hub access and remove Pilot access

This commit is contained in:
Tom Moulard 2022-03-18 11:06:08 +01:00 committed by GitHub
parent dad76e0478
commit 0d58e8d1ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 27 additions and 222 deletions

View file

@ -118,13 +118,11 @@ module.exports = function (ctx) {
env: process.env.APP_ENV === 'development'
? { // staging:
APP_ENV: JSON.stringify(process.env.APP_ENV),
APP_API: JSON.stringify(process.env.APP_API || '/api'),
PLATFORM_URL: JSON.stringify(process.env.PLATFORM_URL || 'https://pilot.traefik.io')
APP_API: JSON.stringify(process.env.APP_API || '/api')
}
: { // production:
APP_ENV: JSON.stringify(process.env.APP_ENV),
APP_API: JSON.stringify(process.env.APP_API || '/api'),
PLATFORM_URL: JSON.stringify(process.env.PLATFORM_URL || 'https://pilot.traefik.io')
APP_API: JSON.stringify(process.env.APP_API || '/api')
},
uglifyOptions: {
compress: {