Repair uploads and let the console follow any registered server
This commit is contained in:
1 parent
3e24d4a7bb
commit
683cdc4016
15 files changed
+193
-84
No files matched your search
@@ -80,6 +80,13 @@ describe("isolated server profiles", () => {
|
||||
MODRINTH_VERSION: "version123",
|
||||
});
|
||||
});
|
||||
it("keeps modded internal servers authenticated without publishing any ports", () => {
|
||||
const p = make({ loader: "FORGE", version: "1.20.1", java: "17", route: "internal" });
|
||||
const c = renderProfileCompose(p, { hostDataDir: "/data/mc", network: "stack" }, "secret", "");
|
||||
expect(c.services.server.ports).toEqual([]);
|
||||
expect(c.services.server.environment.ONLINE_MODE).toBe("TRUE");
|
||||
expect(c.services.server.environment.ENABLE_WHITELIST).toBe("TRUE");
|
||||
});
|
||||
it("rejects invalid numbers, types, environment newlines and URL schemes", () => {
|
||||
for (const update of [
|
||||
{ memory: 0 },
|
||||
|
||||
Reference in new issue
Block a user