mirror of
https://github.com/thiloho/archtika.git
synced 2025-11-22 02:41:35 +01:00
Test website publication and remove collab account
This commit is contained in:
@@ -28,7 +28,13 @@ export const load: PageServerLoad = async ({ params, fetch, cookies, parent }) =
|
||||
|
||||
generateStaticFiles(websiteOverview);
|
||||
|
||||
const websitePreviewUrl = `${dev ? "http://localhost:18000" : process.env.ORIGIN}/previews/${websiteOverview.id}/index.html`;
|
||||
const websitePreviewUrl = `${
|
||||
dev
|
||||
? "http://localhost:18000"
|
||||
: process.env.ORIGIN
|
||||
? process.env.ORIGIN
|
||||
: "http://localhost:18000"
|
||||
}/previews/${websiteOverview.id}/index.html`;
|
||||
|
||||
return {
|
||||
websiteOverview,
|
||||
|
||||
Reference in New Issue
Block a user