0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

Move default URL check to app.js

This commit is contained in:
G.Ambatte
2022-04-13 09:12:48 +12:00
parent f3ee95f9db
commit 16ae32b881
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
module.exports = async(name, title = '', props = {})=>{
const HOMEBREWERY_PUBLIC_URL=(props.publicUrl ? props.publicUrl : 'https://homebrewery.naturalcrit.com');
const HOMEBREWERY_PUBLIC_URL=props.publicUrl ?? '';
return `
<!DOCTYPE html>