diff --git a/.drone.yml b/.drone.yml index e6c2077..e3e5587 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,5 +21,5 @@ steps: secret_key: from_secret: s3_secret_key source: dist/**/* - target: /dist/ + target: /dist path_style: true \ No newline at end of file diff --git a/index.html b/index.html index 3eb768a..c054c57 100644 --- a/index.html +++ b/index.html @@ -21,7 +21,7 @@ It's me, 186526! - + @@ -74,7 +74,7 @@
- avatar + avatar

It's me, 186526!

一个啥都不会的屑 @@ -138,7 +138,12 @@ Moe ICP 20218600 - + + + + +

Running on 186526 Network.

diff --git a/vite.config.js b/vite.config.js index aeb4d70..9cdb779 100644 --- a/vite.config.js +++ b/vite.config.js @@ -5,6 +5,7 @@ import legacy from '@vitejs/plugin-legacy'; * @type {import('vite').UserConfig} */ const config = { + base: './', define: { '__APP_VERSION': child_process.execSync('git rev-parse --short HEAD').toString().replace("\n",""), '__APP_BUILD_TIME': Math.floor(Date.now() / 1000),