File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,4 +29,4 @@ npm run build
2929npm run preview
3030```
3131
32- Built assets use base path ` /simplepad/ ` for GitHub Pages project hosting .
32+ Built assets use base path ` / ` (Vercel / custom domain root) .
Original file line number Diff line number Diff line change 22 "name" : " Simplepad" ,
33 "short_name" : " Simplepad" ,
44 "description" : " A private rich-text notepad that auto-saves in your browser." ,
5- "start_url" : " /simplepad/ " ,
6- "scope" : " /simplepad/ " ,
5+ "start_url" : " /" ,
6+ "scope" : " /" ,
77 "icons" : [
88 {
9- "src" : " /simplepad/ favicon.svg" ,
9+ "src" : " /favicon.svg" ,
1010 "sizes" : " any" ,
1111 "type" : " image/svg+xml" ,
1212 "purpose" : " any"
Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ function vendorChunk(id: string): string | undefined {
2626}
2727
2828// https://vitejs.dev/config/
29- export default defineConfig ( ( { command } ) => ( {
30- // Project Pages needs /simplepad/; local dev stays on /
31- base : command === "build" ? "/simplepad/" : "/" ,
29+ export default defineConfig ( {
30+ // Root base for Vercel (simplepad.patriarxis.com)
31+ base : "/" ,
3232 plugins : [ vue ( ) ] ,
3333 resolve : {
3434 alias : {
@@ -42,4 +42,4 @@ export default defineConfig(({ command }) => ({
4242 } ,
4343 } ,
4444 } ,
45- } ) ) ;
45+ } ) ;
You can’t perform that action at this time.
0 commit comments