fixed DNS

Changed api.sharesyllabus.me fetches to sharesyllabus.leowen.me
This commit is contained in:
Leo Wen
2026-01-21 12:16:05 -08:00
parent da3acf2e11
commit 27feeebdb6
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
VITE_SERVER_ADDRESS = https://api.sharesyllabus.me VITE_SERVER_ADDRESS = https://sharesyllabus.leowen.me
#VITE_SERVER_ADDRESS = http://localhost:4000 #VITE_SERVER_ADDRESS = http://localhost:4000
+1 -1
View File
@@ -13,7 +13,7 @@ import Professor from './pages/Professor.tsx';
import Welcome from './welcome.tsx'; import Welcome from './welcome.tsx';
import UploadSuccessfull from './pages/UploadSuccessFull.tsx'; import UploadSuccessfull from './pages/UploadSuccessFull.tsx';
const server = "https://api.sharesyllabus.me"; const server = "https://sharesyllabus.leowen.me";
export default server; export default server;
createRoot(document.getElementById('root')!).render( createRoot(document.getElementById('root')!).render(
+1 -1
View File
@@ -96,7 +96,7 @@ function UploadSyllabi() {
console.log(formData); console.log(formData);
fetch(`https://api.sharesyllabus.me/create`, { fetch(`https://sharesyllabus.leowen.me/create`, {
method: "POST", method: "POST",
body: formData, body: formData,
}) })