Files
AppFlowy-Web/deploy/config.ts
Nathan.fooo 3de8aaa565 refactor: server ts (#179)
* refactor: server ts

* refactor: add more tests
2025-11-27 16:02:54 +08:00

9 lines
433 B
TypeScript

import path from 'path';
export const distDir = path.join(__dirname, 'dist');
export const indexPath = path.join(distDir, 'index.html');
export const baseURL = process.env.APPFLOWY_BASE_URL as string;
// Used when a namespace is requested without /publishName; users get redirected to the
// public marketing site if the namespace segment is empty (see redirect in publish route).
export const defaultSite = 'https://appflowy.com';