import type { NextConfig } from "next"; /** * Freezmo is meant to be opened from a phone on the same network, so the dev * server (which binds 0.0.0.0:3207) should accept dev-asset requests coming * from private hostnames. Production builds are not affected by this option. * * Add your own hostname here if Next still warns about a cross-origin request. */ const nextConfig: NextConfig = { allowedDevOrigins: [ "127.0.0.1", "localhost", "*.local", "**.local", "192.168.*.*", "10.*.*.*", "*.ts.net", // Tailscale ], }; export default nextConfig;