Changed to https for api url

This commit is contained in:
keannu125 2023-03-10 00:54:59 +08:00
parent 8359142936
commit e5f048e14f

View file

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