Skip to content

Commit

Permalink
Merge pull request #149 from collective/nextjs-https
Browse files Browse the repository at this point in the history
using https in nextjs frontend
  • Loading branch information
MAX-786 authored Aug 31, 2024
2 parents cc9bf9f + b67bdbd commit 85ecede
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 190 deletions.
4 changes: 2 additions & 2 deletions examples/hydra-nextjs/.env.local
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
NEXT_PUBLIC_ADMINUI_ORIGIN=http://localhost:3000
NEXT_PUBLIC_BACKEND_BASE_URL=http://localhost:8080/Plone
NEXT_PUBLIC_ADMINUI_ORIGIN=https://hydra.pretagov.com
NEXT_PUBLIC_BACKEND_BASE_URL=https://hydra.pretagov.com
2 changes: 2 additions & 0 deletions examples/hydra-nextjs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,5 @@ dist
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

certificates
164 changes: 22 additions & 142 deletions examples/hydra-nextjs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion examples/hydra-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"dev": "next dev -p 3002",
"dev:https": "next dev --experimental-https -p 3002",
"build": "next build",
"start": "next start -p 3002",
"lint": "next lint"
Expand All @@ -16,7 +17,7 @@
"@plone/client": "^1.0.0-alpha.15",
"@tanstack/react-query": "^5.40.1",
"axios": "^1.7.2",
"next": "14.2.3",
"next": "^14.2.7",
"react": "^18",
"react-dom": "^18",
"react-query": "^3.39.3",
Expand Down
Loading

0 comments on commit 85ecede

Please sign in to comment.