Spaces:
Runtime error
Runtime error
| 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) | |