Skip to content

Commit c2793a1

Browse files
committed
fix: GitHub Actions
1 parent 541e9f2 commit c2793a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
with:
4949
# Automatically inject basePath in your Next.js configuration file and disable
5050
# server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized).
51-
static_site_generator: next
51+
static_site_generator: false
5252

5353
- name: Restore cache
5454
uses: actions/cache@v4

next.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const nextConfig = {
1010
reactStrictMode: true,
1111
poweredByHeader: false,
1212
productionBrowserSourceMaps: false,
13-
images: { unoptimized: true },
13+
images: { remotePatterns: [{ protocol: 'https', hostname: '**' }] },
1414
eslint: { ignoreDuringBuilds: isProduction },
1515
typescript: { ignoreBuildErrors: isProduction },
1616
logging: { fetches: { fullUrl: true } },

0 commit comments

Comments
 (0)