Skip to content

Commit

Permalink
fix images not loading in prod
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeRomaa committed Mar 26, 2024
1 parent 1350d13 commit d731255
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

- name: Copy static files
run: |
cp -r public yarn.lock .yarnrc.yml .next/standalone
cp -r public next.config.js yarn.lock .yarnrc.yml .next/standalone
cp -r .next/static .next/standalone/.next/static
- name: Create archive
Expand Down
8 changes: 0 additions & 8 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,9 @@ const nextConfig = {
output: 'standalone',
images: {
remotePatterns: [
{
protocol: 'http',
hostname: 'localhost',
port: '8000',
pathname: '/media/**',
},
{
protocol: 'https',
hostname: 'api.houston.center',
port: '80',
pathname: '/media/**',
},
],
},
Expand Down

0 comments on commit d731255

Please sign in to comment.