Merge pull request #134 from ragestudio/dev

This commit is contained in:
srgooglo 2025-05-12 04:42:30 +02:00 committed by GitHub
commit 161d74f666
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@comty/server", "name": "@comty/server",
"version": "1.40.0@alpha", "version": "1.40.1@alpha",
"license": "ComtyLicense", "license": "ComtyLicense",
"private": true, "private": true,
"workspaces": [ "workspaces": [

View File

@ -1,7 +1,7 @@
{ {
"name": "posts", "name": "posts",
"dependencies": { "dependencies": {
"linebridge": "^1.0.0-alpha.2", "linebridge": "^1.0.0-alpha.4",
"moment-timezone": "^0.5.45" "moment-timezone": "^0.5.45"
} }
} }

View File

@ -12,7 +12,10 @@ export default class API extends Server {
static refName = "posts" static refName = "posts"
static listenPort = process.env.HTTP_LISTEN_PORT ?? 3001 static listenPort = process.env.HTTP_LISTEN_PORT ?? 3001
static websockets = true static websockets = {
enabled: true,
path: "/posts",
}
static bypassCors = true static bypassCors = true
static useMiddlewares = ["logs"] static useMiddlewares = ["logs"]

View File

@ -1,4 +1,3 @@
{ {
"name": "users", "name": "users"
"version": "1.0.0"
} }