Change url to point to pythonanywhere

This commit is contained in:
keannu125 2023-03-10 00:37:30 +08:00
parent e4d3926715
commit 105b0ec101

View file

@ -10,7 +10,7 @@ import {
// Product APIs // Product APIs
// Local Testing "http://localhost:8000" // Local Testing "http://localhost:8000"
// Remote Deploy "http://keannu125.pythonanywhere.com" // Remote Deploy "http://keannu125.pythonanywhere.com"
export const baseurl = "http://localhost:8000"; export const baseurl = "http://keannu125.pythonanywhere.com";
export function GetProducts() { export function GetProducts() {
const token = JSON.parse(localStorage.getItem("token") || "{}"); const token = JSON.parse(localStorage.getItem("token") || "{}");