diff --git a/.env.production b/.env.production index 60ce2d5..7a5006b 100644 --- a/.env.production +++ b/.env.production @@ -1,6 +1,6 @@ VUE_APP_TITLE=GelegeApp - Dev -VUE_APP_BASE_URL= http://dev.lifemap.rocks:1337/ +VUE_APP_BASE_URL= http://dev-api.lifemap.rocks/ VUE_APP_AUTH_URL= auth/ VUE_APP_I18N_LOCALE=de diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..4dd8c31 --- /dev/null +++ b/.htaccess @@ -0,0 +1,8 @@ + + RewriteEngine On + RewriteBase / + RewriteRule ^index\.html$ - [L] + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteRule . /index.html [L] + diff --git a/deploy.sh b/deploy.sh new file mode 100644 index 0000000..822ce97 --- /dev/null +++ b/deploy.sh @@ -0,0 +1 @@ +ssh -t gelege-app 'bash -i -c "cd /var/www/html/dev/gelegeapp-frontend && git pull && npm install && npm run build && cp .htaccess dist/.htaccess"' \ No newline at end of file