NJUPT-Mirrors-Group / Mirror-Web-Next

New NJUPT mirror web interface
https://njupt-mirror-web.vercel.app
11 stars 1 forks source link

[enhancement] change baseURL #11

Open MaxtuneLee opened 5 months ago

MaxtuneLee commented 5 months ago

the server info url is my GitHub gist link now, have to switch to production url before deploy. Maybe later we should put baseURL to .env file and use env variable for convenience.

https://github.com/NJUPT-Mirrors-Group/Mirror-Web-Next/blob/c5b73ce1106102704d717a089ca15f0ea554dc66/src/components/MirrorTable/index.tsx#L21

https://github.com/NJUPT-Mirrors-Group/Mirror-Web-Next/blob/c5b73ce1106102704d717a089ca15f0ea554dc66/src/components/Iso/index.ts#L8