debug: deployment log
This commit is contained in:
@@ -29,9 +29,12 @@ export const load = async ({ url, cookies }): Promise<LoadOutput> => {
|
|||||||
baseMetaTags: getBaseMetaTags(url)
|
baseMetaTags: getBaseMetaTags(url)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
console.log('env.IS_SELFHOSTED', env.IS_SELFHOSTED);
|
||||||
|
|
||||||
// Selfhosted usecase would be here
|
// Selfhosted usecase would be here
|
||||||
if (env.IS_SELFHOSTED === 'true') {
|
if (env.IS_SELFHOSTED === 'true') {
|
||||||
const subdomain = getSubdomain(url);
|
const subdomain = getSubdomain(url);
|
||||||
|
console.log('subdomain', subdomain);
|
||||||
|
|
||||||
// Student dashboard
|
// Student dashboard
|
||||||
if (subdomain) {
|
if (subdomain) {
|
||||||
|
|||||||
Reference in New Issue
Block a user