-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathnext.config.js
More file actions
31 lines (30 loc) · 971 Bytes
/
Copy pathnext.config.js
File metadata and controls
31 lines (30 loc) · 971 Bytes
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
/** @type {import('next').NextConfig} */
module.exports = {
reactCompiler: true,
// Dev only: lets phones on the home network open the dev server via the
// machine's LAN IP. Without this Next blocks its /_next dev resources for
// non-localhost origins and pages render but never hydrate (dead buttons).
allowedDevOrigins: ["192.168.1.*"],
images: {
remotePatterns: [
{
protocol: "https",
hostname: "cdn.unitystation.org",
port: "",
pathname: "/**/**",
},
{
protocol: "https",
hostname: "cdn.discordapp.com",
port: "",
pathname: "/attachments/**",
},
{
protocol: "https",
hostname: "user-images.githubusercontent.com",
port: "",
pathname: "/**/**",
},
],
},
};