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",
"version": "1.40.0@alpha",
"version": "1.40.1@alpha",
"license": "ComtyLicense",
"private": true,
"workspaces": [

View File

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

View File

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

View File

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