Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
0970d3e83b | |||
4e77185a33 |
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "red-coder-bh",
|
"name": "red-coder-bh",
|
||||||
"version": "1.3.2",
|
"version": "1.3.3",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "red-coder-bh",
|
"name": "red-coder-bh",
|
||||||
"version": "1.3.2",
|
"version": "1.3.3",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ijl/mailer": "^1.1.0",
|
"@ijl/mailer": "^1.1.0",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "red-coder-bh",
|
"name": "red-coder-bh",
|
||||||
"version": "1.3.2",
|
"version": "1.3.3",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "src/main.ts",
|
"main": "src/main.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -46,6 +46,9 @@ router.post('/toggle-like', (req, res) => {
|
|||||||
charLikes[charId] = { likes: [id] }
|
charLikes[charId] = { likes: [id] }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
res.set({
|
||||||
|
'Access-Control-Allow-Origin': 'http://admin.inno-js.ru',
|
||||||
|
})
|
||||||
res.send({
|
res.send({
|
||||||
likes: charLikes,
|
likes: charLikes,
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user