Change props.publicUrl fallback behavior

This commit is contained in:
G.Ambatte committed 2022-04-13 14:15:26 +12:00
1 parent f8086a098b
commit 85312859d2
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
module.exports = async(name, title = '', props = {})=>{
const HOMEBREWERY_PUBLIC_URL=props.publicUrl ?? '';
const HOMEBREWERY_PUBLIC_URL=props.publicUrl;
return `
<!DOCTYPE html>