fixed web-socket and add rewards on post
This commit is contained in:
@@ -54,4 +54,4 @@ jwt:
|
||||
|
||||
app:
|
||||
cors:
|
||||
allowed-origins: ${CORS_ALLOWED_ORIGINS:https://refound.example.com,http://localhost:3000}
|
||||
allowed-origins: http://localhost:5173,http://localhost:3000
|
||||
@@ -0,0 +1,12 @@
|
||||
databaseChangeLog:
|
||||
- changeSet:
|
||||
id: 014-add-reward-posts
|
||||
author: alexandr krylov
|
||||
changes:
|
||||
- addColumn:
|
||||
tableName: posts
|
||||
columns:
|
||||
- column:
|
||||
name: is_reward
|
||||
type: boolean
|
||||
defaultValueBoolean: false
|
||||
@@ -18,3 +18,4 @@ databaseChangeLog:
|
||||
- include: { file: db/changelog/add/013-add-rules_accepted-posts.yaml}
|
||||
- include: { file: db/changelog/create/009-create-statistic.yaml }
|
||||
- include: { file: db/changelog/alter/011-alter-posts-district-length.yaml}
|
||||
- include: { file: db/changelog/add/014-add-reward-posts.yaml }
|
||||
Reference in New Issue
Block a user