The weeb for the next gen discord boat - Wamellow wamellow.com
bot discord
at master 3.1 kB view raw
1import { withSentryConfig } from "@sentry/nextjs"; 2import type { NextConfig } from "next"; 3 4const nextConfig: NextConfig = { 5 output: "standalone", 6 reactStrictMode: true, 7 experimental: { 8 turbopackFileSystemCacheForDev: true 9 }, 10 images: { 11 localPatterns: [ 12 { 13 pathname: "/**" 14 } 15 ], 16 remotePatterns: [ 17 { 18 protocol: "https", 19 hostname: "cdn.discordapp.com", 20 port: "", 21 pathname: "/avatars/**" 22 }, 23 { 24 protocol: "https", 25 hostname: "cdn.discordapp.com", 26 port: "", 27 pathname: "/icons/**" 28 }, 29 { 30 protocol: "https", 31 hostname: "cdn.discordapp.com", 32 port: "", 33 pathname: "/emojis/**" 34 }, 35 { 36 protocol: "https", 37 hostname: "cdn.discordapp.com", 38 port: "", 39 pathname: "/banners/**" 40 }, 41 { 42 protocol: "https", 43 hostname: "cdn.discordapp.com", 44 port: "", 45 pathname: "/guilds/**" 46 }, 47 48 { 49 protocol: "https", 50 hostname: "cdn.waya.one", 51 port: "", 52 pathname: "/r/**" 53 }, 54 { 55 protocol: "https", 56 hostname: "images-v2.wamellow.com", 57 port: "", 58 pathname: "/api/greet" 59 }, 60 { 61 protocol: "https", 62 hostname: "r2.wamellow.com", 63 port: "", 64 pathname: "/**" 65 }, 66 67 { 68 protocol: "https", 69 hostname: "yt3.ggpht.com", 70 port: "", 71 pathname: "/**" 72 }, 73 { 74 protocol: "https", 75 hostname: "static-cdn.jtvnw.net", 76 port: "", 77 pathname: "/jtv_user_pictures/**" 78 }, 79 { 80 protocol: "https", 81 hostname: "static-cdn.jtvnw.net", 82 port: "", 83 pathname: "/user-default-pictures-uv/**" 84 }, 85 { 86 protocol: "https", 87 hostname: "cdn.bsky.app", 88 port: "", 89 pathname: "/img/avatar/plain/**" 90 }, 91 { 92 protocol: "https", 93 hostname: "i.scdn.co", 94 port: "", 95 pathname: "/image/**" 96 } 97 ] 98 } 99}; 100 101export default withSentryConfig( 102 nextConfig, 103 { 104 org: "wamellow-kc", 105 project: "web", 106 silent: !process.env.CI, 107 widenClientFileUpload: true, 108 disableLogger: true, 109 automaticVercelMonitors: true 110 } 111);