Update StaticBaseUrl.

This commit is contained in:
Yang Luo 2021-06-12 12:07:24 +08:00
parent e1673c1541
commit 56b2c91217

View File

@ -23,7 +23,8 @@ import {Helmet} from "react-helmet";
export let ServerUrl = "";
export const StaticBaseUrl = "https://cdn.jsdelivr.net/gh/casbin/static";
// export const StaticBaseUrl = "https://cdn.jsdelivr.net/gh/casbin/static";
export const StaticBaseUrl = "https://cdn.casbin.org";
export function initServerUrl() {
const hostname = window.location.hostname;