Skip to content

Commit

Permalink
feat: added support for dub
Browse files Browse the repository at this point in the history
  • Loading branch information
Dovakiin0 committed Nov 30, 2024
1 parent e57d5ee commit 2c0216d
Show file tree
Hide file tree
Showing 26 changed files with 4,137 additions and 246 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ cd kitsune/
npm install or yarn
```

rename the `.env.example` file to `.env` then set in TMDB access key (READ ACCESS TOKEN) and vercel KV(optional).
then run the app
Then

```
npm run dev or yarn dev
Expand Down
9 changes: 8 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import withPWA from "next-pwa";

/** @type {import('next').NextConfig} */
const nextConfig = {
output: "standalone",
Expand All @@ -13,4 +15,9 @@ const nextConfig = {
},
};

export default nextConfig;
export default withPWA({
dest: "public",
register: true,
skipWaiting: true,
disable: process.env.NODE_ENV === "development",
})(nextConfig);
Loading

0 comments on commit 2c0216d

Please sign in to comment.