debug: deployment log

This commit is contained in:
Rotimi Best
2024-10-09 14:51:32 +01:00
parent 145bc1dd69
commit 8c846a70d5
@@ -29,9 +29,12 @@ export const load = async ({ url, cookies }): Promise<LoadOutput> => {
baseMetaTags: getBaseMetaTags(url)
};
console.log('env.IS_SELFHOSTED', env.IS_SELFHOSTED);
// Selfhosted usecase would be here
if (env.IS_SELFHOSTED === 'true') {
const subdomain = getSubdomain(url);
console.log('subdomain', subdomain);
// Student dashboard
if (subdomain) {