Environment Variables
Last updated
The server can be configured by passing in different environment variables. Here are some of them:
Enabling this flag will disable HSTS from helmet. This is useful for local deployment and our desktop build so that users doesn't have to use HTTPS to access the app.
Setting this to "1" will automatically create an anonymous user and use that to authenticate every client. This is useful in deployments where the concept of user is redundant like our desktop build.
When enabled, we will relax security when being accessed from a random origin. Useful for local deployment like our desktop build.
When using the file storage, you can use this property to set the folder where the files will be saved. Otherwise, it will default to an uploads folder in the root directory.
The folder where plugins will be loaded from. The default is to a loadedPlugins folder in the root directory.
Last updated