Spaces:
Runtime error
Runtime error
File size: 319 Bytes
62ab487 5bc3475 62ab487 5bc3475 62ab487 | 1 2 3 4 5 6 7 8 | with open("server/src/index.ts", "r") as f:
content = f.read()
content = content.replace("throw new Error(\"authenticated mode requires BETTER_AUTH_SECRET (or PAPERCLIP_AGENT_JWT_SECRET) to be set\");", "config.betterAuthSecret = 'dummy_secret';")
with open("server/src/index.ts", "w") as f:
f.write(content)
|