From cf7ec832b2eea0b6f34f04e8687516d399a8c963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Danyi?= Date: Thu, 20 Jun 2019 13:15:46 +0200 Subject: [PATCH] * no idea what --- deploy.php | 4 ++-- htaccess | 12 ++++++------ src/environments/environment.prod.ts | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/deploy.php b/deploy.php index dff1df0..c231cd0 100755 --- a/deploy.php +++ b/deploy.php @@ -20,10 +20,10 @@ host('mtas') ->stage('production') ->user('edvidan') ->forwardAgent() - ->set('ng_basehref', '/mtas/') + ->set('ng_basehref', '/mtastv/') ->set('ng_configuration', 'production') ->set('env_vars', 'NODE_ENV=production') - ->set('deploy_path', '/proj/webdocs/mtoolbox/mtastv/frontend'); + ->set('deploy_path', '/proj/webdocs/mtoolbox/root/mtastv-inst/frontend'); host('vasgyuro.tsp') ->stage('staging') diff --git a/htaccess b/htaccess index c749114..d7923da 100644 --- a/htaccess +++ b/htaccess @@ -16,12 +16,12 @@ RewriteCond %{REQUEST_URI}::$1 ^(/.+)(.+)::\2$ RewriteRule ^(.*) - [E=BASE:%1] RewriteRule ^(.*)$ %{ENV:BASE}index.html [NC,L] - - Require all granted - - - Require all denied - +# +# Require all granted +# +# +# Require all denied +# FileETag None diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts index fe96514..0b8ef50 100755 --- a/src/environments/environment.prod.ts +++ b/src/environments/environment.prod.ts @@ -1,5 +1,5 @@ export const environment = { production: true, - apiUrl: 'https://mtoolbox.rnd.ki.sw.ericsson.se/mtastv/api/current/public', + apiUrl: 'https://mtoolbox.rnd.ki.sw.ericsson.se/mtastv-api', commitTrackerApiUrl: 'https://mtas-trex.rnd.ki.sw.ericsson.se:8080/committracker/api/' };