Skip to content

Commit

Permalink
THis will initial deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ibnumahendra23 committed Oct 8, 2023
1 parent d46edf0 commit 5de41d1
Show file tree
Hide file tree
Showing 27 changed files with 1,346 additions and 242 deletions.
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
NEXT_PUBLIC_API_URL = https://api-staging.constructapp.team
NEXT_PUBLIC_PORT = 3000
NEXT_ENCRYPTION_KEY = IBNU
28 changes: 26 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,28 @@
/** @type {import('next').NextConfig} */
const nextConfig = {}
const nextConfig = {
images: {
domains: ["via.placeholder.com"],
remotePatterns: [
{
protocol: "https",
hostname: "via.placeholder.com",
port: "",
pathname: "/dashboard",
},
],
},
// serverMiddleware: [
// {
// path: "/dashboard",
// handler: require.resolve("./src/app/middleware.tsx"), // Sesuaikan dengan lokasi middleware Anda
// },
// ],
serverMiddleware: [
{
path: "/dashboard",
handler: "./src/app/middleware.tsx",
},
],
};

module.exports = nextConfig
module.exports = nextConfig;
Loading

0 comments on commit 5de41d1

Please sign in to comment.