diff --git a/Dockerfile b/Dockerfile index 1b14610..ce33579 100644 --- a/Dockerfile +++ b/Dockerfile @@ -82,14 +82,11 @@ COPY . . RUN npm install \ && npm run build \ + && chown www-data:www-data . -R \ && mv /tmp/dist/* /tmp/api /var/www/html WORKDIR /var/www/html -RUN cp config.js.ci config.js \ - && sed -i "s/{APP_URL}/$APP_URL/g" config.js \ - && chown www-data:www-data . -R - COPY ./entrypoint.sh / CMD ["/bin/bash", "/entrypoint.sh"] diff --git a/config.js.ci b/config.js.ci deleted file mode 100644 index 093aae6..0000000 --- a/config.js.ci +++ /dev/null @@ -1,5 +0,0 @@ -const config = { - APP_URL: '{APP_URL}', -}; - -export { config }; diff --git a/config.js.example b/config.js.example deleted file mode 100644 index 13eff9a..0000000 --- a/config.js.example +++ /dev/null @@ -1,5 +0,0 @@ -const config = { - APP_URL: 'http://192.168.33.27:3000/', -}; - -export { config }; diff --git a/package.json b/package.json index 5b3b1b3..34b244d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "yourmap-tracker", - "version": "0.0.0", + "name": "random-web-tools", + "version": "1.0.0", "scripts": { "build": "vite build", "lint": "eslint .. --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore", diff --git a/src/views/PHPInfo.vue b/src/views/PHPInfo.vue index b2c7952..cefce43 100644 --- a/src/views/PHPInfo.vue +++ b/src/views/PHPInfo.vue @@ -4,7 +4,6 @@