-
-
Notifications
You must be signed in to change notification settings - Fork 106
/
custom-rewrites.js
40 lines (40 loc) · 1.02 KB
/
custom-rewrites.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/** @type {import('next').NextConfig["rewrites"]} */
module.exports = [
{
source: '/:path*',
has: [
{
type: 'query',
key: 'logo',
value:
'https://raw.githubusercontent.com/Harry-Jing/EdgeGPT/master/.readme/Bing_favicon.png',
},
],
destination:
'/:path*?logo=https://upload.wikimedia.org/wikipedia/commons/9/9c/Bing_Fluent_Logo.svg',
},
{
source: '/:path*',
has: [
{
type: 'query',
key: 'logo',
value: 'https://s2.loli.net/2022/04/25/xOiJn7lCdcT5Mw1.png',
},
],
destination:
'/:path*?logo=https://user-images.githubusercontent.com/5880908/218407342-148803b6-742c-4f2a-b821-b260c7e28c29.png',
},
{
source: '/:path*',
has: [
{
type: 'query',
key: 'logo',
value: 'https://telegra.ph/file/01385a9f4cf0419682b87.png',
},
],
destination:
'/:path*?logo=https://user-images.githubusercontent.com/5880908/218408267-5ce0cd4b-ad02-4b56-87ef-d75b1c109659.png',
},
]