add install base
This commit is contained in:
@@ -8,7 +8,7 @@ const localProxy = new LocalProxy({
|
||||
});
|
||||
export const proxyRoute = async (req: http.IncomingMessage, res: http.ServerResponse) => {
|
||||
const _assistantConfig = assistantConfig.getCacheAssistantConfig();
|
||||
const appDir = assistantConfig.configPath?.pageDir;
|
||||
const appDir = assistantConfig.configPath?.pagesDir;
|
||||
const url = new URL(req.url, 'http://localhost');
|
||||
const pathname = url.pathname;
|
||||
if (pathname === '/' && _assistantConfig?.home) {
|
||||
|
||||
Reference in New Issue
Block a user