Embed tests fixes
parent
21fb0fc3a3
commit
7f6a9cf555
|
@ -91,6 +91,10 @@ const nextConfig = {
|
||||||
source: "/team/:teamname/avatar.png",
|
source: "/team/:teamname/avatar.png",
|
||||||
destination: "/api/user/avatar?teamname=:teamname",
|
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() {
|
async redirects() {
|
||||||
|
|
|
@ -123,6 +123,10 @@
|
||||||
"@calcom/embed-core#embed-tests-update-snapshots:ci": {
|
"@calcom/embed-core#embed-tests-update-snapshots:ci": {
|
||||||
"dependsOn": ["@calcom/web#build"]
|
"dependsOn": ["@calcom/web#build"]
|
||||||
},
|
},
|
||||||
|
"@calcom/embed-core#build": {
|
||||||
|
"cache": false,
|
||||||
|
"outputs": ["../../../apps/web/public/embed/**"]
|
||||||
|
},
|
||||||
"embed-tests-update-snapshots:ci": {
|
"embed-tests-update-snapshots:ci": {
|
||||||
"dependsOn": ["^embed-tests-update-snapshots:ci"]
|
"dependsOn": ["^embed-tests-update-snapshots:ci"]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue