mirror of https://github.com/kern/filepizza
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
332 B
JavaScript
9 lines
332 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
// Disable strict mode to avoid calling useEffect twice in development.
|
|
// The uploader and downloader are both using useEffect to listen for peerjs events
|
|
// which causes the connection to be created twice.
|
|
reactStrictMode: false,
|
|
}
|
|
|
|
module.exports = nextConfig |