Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
MHMDHIDR committed Jan 7, 2024
1 parent 81ea60b commit 3c5bdf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const url = {

export const APP_URL =
process.env.NODE_ENV === 'development'
? `http://${origin?.includes(url.dev) ? url.dev : url.local}:3000`
? `https://${origin?.includes(url.dev) ? url.dev : url.local}:3000`
: process.env.NEXT_PUBLIC_APP_PUBLIC_URL

export const API_URL = APP_URL + '/api'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "NextJS Restaurant to find and order delicious foods, drinks, and sweets.",
"private": true,
"scripts": {
"dev": "next",
"dev": "next --experimental-https",
"build": "next build",
"start": "next start",
"lint": "next lint",
Expand Down

0 comments on commit 3c5bdf8

Please sign in to comment.