Updated handling of env vars.
This commit is contained in:
@@ -80,7 +80,7 @@ export function TestConsole({ websiteId }: { websiteId: string }) {
|
||||
<Script
|
||||
async
|
||||
data-website-id={websiteId}
|
||||
src={`${process.env.basePath}/script.js`}
|
||||
src={`${process.env.basePath || ''}/script.js`}
|
||||
data-cache="true"
|
||||
/>
|
||||
<div className={styles.actions}>
|
||||
|
||||
Reference in New Issue
Block a user