fix: embed rewrites post dotted usernames (#12087)
This commit is contained in:
1 parent
f9ad99e572
commit
158da51a5d
1 file changed
+8
@@ -226,6 +226,14 @@ const nextConfig = {
|
||||
},
|
||||
async rewrites() {
|
||||
const beforeFiles = [
|
||||
{
|
||||
/**
|
||||
* Needed due to the introduction of dotted usernames
|
||||
* @see https://github.com/calcom/cal.com/pull/11706
|
||||
*/
|
||||
source: "/embed.js",
|
||||
destination: "/embed/embed.js",
|
||||
},
|
||||
{
|
||||
source: "/login",
|
||||
destination: "/auth/login",
|
||||
|
||||
Reference in new issue
Block a user