wip fix code mode
This commit is contained in:
parent
170312c8bb
commit
a625702e85
File diff suppressed because one or more lines are too long
|
|
@ -6,7 +6,7 @@ export const loadSite = async (p: PG, site: ESite, note: string) => {
|
||||||
p.site = site;
|
p.site = site;
|
||||||
|
|
||||||
if (!p.script.db && !p.script.api) {
|
if (!p.script.db && !p.script.api) {
|
||||||
if (p.site.code.mode === "old") {
|
if (p.site.code.mode === "old" && !location.pathname.startsWith('/ed/')) {
|
||||||
await viLoadLegacy({
|
await viLoadLegacy({
|
||||||
mode: p.mode,
|
mode: p.mode,
|
||||||
site: {
|
site: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue