diff --git a/website/.env b/website/.env index 9ef5248d..19a975be 100644 --- a/website/.env +++ b/website/.env @@ -1,5 +1,5 @@ -VUE_APP_DEPLOY_MODE=live -VUE_APP_DATA_SERVER="https://data.slmn.gg" +VITE_DEPLOY_MODE=live +VITE_DATA_SERVER="https://data.slmn.gg" -# VUE_APP_MAIN_DOMAIN="https://dev.slmn.gg" # for auth returns -# VUE_APP_MAIN_COOKIE_DOMAIN="dev.slmn.gg" # no protocol or ports (for cookies) +# VITE_MAIN_DOMAIN="https://dev.slmn.gg" # for auth returns +# VITE_MAIN_COOKIE_DOMAIN="dev.slmn.gg" # no protocol or ports (for cookies) diff --git a/website/.env.development b/website/.env.development index 671c67c8..7d2c43c5 100644 --- a/website/.env.development +++ b/website/.env.development @@ -1 +1 @@ -VUE_APP_DEPLOY_MODE=local +VITE_DEPLOY_MODE=local diff --git a/website/.env.staging b/website/.env.staging index 1ad59a06..9d3e4dd9 100644 --- a/website/.env.staging +++ b/website/.env.staging @@ -1 +1 @@ -VUE_APP_DEPLOY_MODE=staging +VITE_DEPLOY_MODE=staging diff --git a/website/.eslintrc.json b/website/.eslintrc.json index 08fbcb0d..eebe6e76 100644 --- a/website/.eslintrc.json +++ b/website/.eslintrc.json @@ -9,8 +9,7 @@ ], "parserOptions": { "ecmaVersion": 12, - "sourceType": "module", - "parser": "babel-eslint" + "sourceType": "module" }, "rules": { "indent": [ diff --git a/website/babel.config.js b/website/babel.config.js deleted file mode 100644 index 1db3feae..00000000 --- a/website/babel.config.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = { - presets: [ - "@vue/cli-plugin-babel/preset" - ] -}; diff --git a/website/public/index.html b/website/index.html similarity index 68% rename from website/public/index.html rename to website/index.html index 96256b2a..633cf8a1 100644 --- a/website/public/index.html +++ b/website/index.html @@ -9,16 +9,18 @@ document.getElementById("science").dataset.domain += "," + window.location.hostname; document.getElementById("science").src = "https://science.slmn.io/science.js"; - - + + -