fix: pull surveys package from formbricks cloud as a hotfix (#2292)

This commit is contained in:
Matti Nannt
2024-03-20 13:34:14 +01:00
committed by GitHub
parent 1925382980
commit a99b53ae32
+1 -1
View File
@@ -18,7 +18,7 @@ const config = ({ mode }) => {
const isDevelopment = mode === "dev";
const datePickerScriptSrc = isDevelopment
? "http://localhost:3003/question-date.umd.js"
: `https://unpkg.com/@formbricks/surveys@~${packageJson.version}/dist/question-date.umd.js`;
: `https://app.formbricks.com/api/js?module=question-date`; // HOTFIX: Need to be changed to a better solution that is versioned
return defineConfig({
define: {