Add comment
parent
e63b75688a
commit
a033b29403
|
@ -185,7 +185,9 @@ function multipleSPA(options: MultipleSPAOptions): Plugin {
|
|||
|
||||
if (url && ['/', '/index.html'].includes(url)) {
|
||||
res.writeHead(302, { Location: '/' + options.defaultSite }).end()
|
||||
} else if (
|
||||
}
|
||||
// this condition is for the start:netlify script to match /mon-entreprise or /infrance
|
||||
else if (
|
||||
firstLevelDir &&
|
||||
url &&
|
||||
Object.keys(options.sites)
|
||||
|
|
Loading…
Reference in New Issue