mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-01 04:42:10 +03:00
9 lines
324 B
JavaScript
9 lines
324 B
JavaScript
import test from "node:test";
|
|
import assert from "node:assert/strict";
|
|
|
|
test("next config allows loopback dev origins alongside LAN access", async () => {
|
|
const { default: nextConfig } = await import("../../next.config.mjs");
|
|
|
|
assert.deepEqual(nextConfig.allowedDevOrigins, ["localhost", "127.0.0.1", "192.168.*"]);
|
|
});
|