build(#10336): finalize

This commit is contained in:
Acid Chicken (硫酸鶏) 2023-04-01 16:26:08 +09:00
parent 38b153ca94
commit 1521bb088c
No known key found for this signature in database
GPG key ID: 3E87B98A3F6BAB99
18 changed files with 581 additions and 30 deletions

View file

@ -1,7 +1,7 @@
import { type SharedOptions, rest } from 'msw';
export const onUnhandledRequest = ((req, print) => {
if (req.url.hostname !== 'localhost' || /^\/(?:client-assets\/|fluent-emojis?\/|iframe.html$|node_modules\/|sb-|static-assets\/|vite\/)/.test(req.url.pathname)) {
if (req.url.hostname !== 'localhost' || /^\/(?:client-assets\/|fluent-emojis?\/|iframe.html$|node_modules\/|src\/|sb-|static-assets\/|vite\/)/.test(req.url.pathname)) {
return
}
print.warning()