Skip to content

Commit

Permalink
feat: init
Browse files Browse the repository at this point in the history
  • Loading branch information
flashclub committed Jan 30, 2024
0 parents commit efeaefa
Show file tree
Hide file tree
Showing 33 changed files with 11,626 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local
.env*
# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
18 changes: 18 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
export default (phase, { defaultConfig }) => {
const env = process.env.NODE_ENV;
/**
* @type {import("next").NextConfig}
*/

return {
async rewrites() {
return [
{
source: "/query",
destination: "https://iw86xz4y-search-with-lepton-v2-2.tin.lepton.run/query" // Proxy to Backend
}
];
}
};

}
Loading

0 comments on commit efeaefa

Please sign in to comment.