Hardcode recorder API endpoints in build and runtime

This commit is contained in:
Mike Cao
2026-06-15 14:50:13 -07:00
parent 15038b09d9
commit a5f78e3e3d
2 changed files with 2 additions and 5 deletions
-3
View File
@@ -15,9 +15,6 @@ export default {
commonjs(),
replace({
__COLLECT_API_HOST__: process.env.COLLECT_API_HOST || '',
__COLLECT_REPLAY_ENDPOINT__: process.env.COLLECT_REPLAY_ENDPOINT || '/api/record',
__RECORDER_CONFIG_ENDPOINT__:
process.env.RECORDER_CONFIG_ENDPOINT || '/api/websites/{websiteId}/recorder',
delimiters: ['', ''],
preventAssignment: true,
}),