mirror of
https://github.com/Leado123/Leado123.github.io.git
synced 2026-10-01 00:32:59 +00:00
fixed DNS
Changed api.sharesyllabus.me fetches to sharesyllabus.leowen.me
This commit is contained in:
@@ -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
@@ -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(
|
||||||
|
|||||||
@@ -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,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user