From b314bb7af1c1edc338d38316b316479d565e6d86 Mon Sep 17 00:00:00 2001 From: Ryle Date: Mon, 26 Dec 2022 01:36:13 +0000 Subject: [PATCH] Add additional backend URIs. /images is used by manifest.json, /favicon.ico is used by browsers to set favicons, but some bug out for bookmarks if this isn't route excepted, /apple-touch-icon.png is the default iOS/iPad file for specifying icons, /browserconfig.xml is used by Windows for metro tiles for added pages, /robots.txt is used by bots to determine if access is permitted to pages. Some bots that use Selenium break when the routing isn't exempt. --- webpack/production.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webpack/production.ts b/webpack/production.ts index a1af5a0f9..9139cab98 100644 --- a/webpack/production.ts +++ b/webpack/production.ts @@ -131,6 +131,11 @@ const configuration: Configuration = { '/socket', '/static', '/unsubscribe', + '/images', + '/favicon.ico', + '/apple-touch-icon.png', + '/browserconfig.xml', + '/robots.txt', ]; if (backendRoutes.some(path => pathname.startsWith(path)) || pathname.endsWith('/embed')) {