Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ build/

# testing folders
/certs

# IDE settings
/.vscode
100 changes: 0 additions & 100 deletions classes/db.js

This file was deleted.

152 changes: 0 additions & 152 deletions classes/extension.js

This file was deleted.

60 changes: 0 additions & 60 deletions classes/tables.js

This file was deleted.

2 changes: 1 addition & 1 deletion config/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
*
!*.example
!*.example.*
!.gitignore
32 changes: 32 additions & 0 deletions config/config.example.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import { tmpdir } from 'os'

export default {
/** Whether the server is running behind an nginx instance */
nginx: false,
/** The domain of the instance. */
domain: "example.com",
/** The interface to host on. Defaults to '::' (all interfaces) */
host: "::",
/** The port to listen on for HTTP traffic. Defaults to 80 */
http_port: 80,
/** The salt to use for encrypting the passwords. */
salt: "PASSWORD SALT HERE!!",
/** Location of the temporary directory. Defaults to your system's default temp dir */
tmp_dir: tmpdir(),
/** The location where the dicebear instance is hosted */
dicebear_host: "https://api.dicebear.com/7.x/lorelei/svg",
/** The location where the client files are hosted */
client_location: "https://github.com/keukeiland/keuknet-client/releases/latest/download/",
/** Whether connections are logged */
logging: false,

// Below options are only required when running standalone
/** The port to listen on for HTTPS traffic. Defaults to 443 */
https_port: 443,
/** The path to your HTTPS certificate-set's private key. */
private_key_path: `${import.meta.dirname}/../certs/privkey.pem`,
/** The path to your HTTPS certificate-set's certificate. */
server_cert_path: `${import.meta.dirname}/../certs/cert.pem`,
/** The path to your HTTPS certificate-set's CA-chain. */
ca_cert_path: `${import.meta.dirname}/../certs/ca.pem`,
}
30 changes: 0 additions & 30 deletions config/config.js.example

This file was deleted.

Loading
Loading