Embed tests fixes

This commit is contained in:
zomars committed 2022-06-22 15:12:57 -06:00
1 parent 21fb0fc3a3
commit 7f6a9cf555
2 files changed
+8

No files matched your search

+4
View File
@@ -91,6 +91,10 @@ const nextConfig = {
source: "/team/:teamname/avatar.png",
destination: "/api/user/avatar?teamname=:teamname",
},
/* TODO: have these files being served from another deployment or CDN {
source: "/embed/embed.js",
destination: process.env.NEXT_PUBLIC_EMBED_LIB_URL?,
}, */
];
},
async redirects() {
+4
View File
@@ -123,6 +123,10 @@
"@calcom/embed-core#embed-tests-update-snapshots:ci": {
"dependsOn": ["@calcom/web#build"]
},
"@calcom/embed-core#build": {
"cache": false,
"outputs": ["../../../apps/web/public/embed/**"]
},
"embed-tests-update-snapshots:ci": {
"dependsOn": ["^embed-tests-update-snapshots:ci"]
},