mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-24 10:16:06 +03:00
chore: use 5314 as a custom dev port (#95)
This commit is contained in:
parent
ae2ce85bcc
commit
2c630292af
4 changed files with 8 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
||||||
export const APP_NAME = 'Elk'
|
export const APP_NAME = 'Elk'
|
||||||
|
|
||||||
export const HOST_DOMAIN = process.dev
|
export const HOST_DOMAIN = process.dev
|
||||||
? 'http://localhost:3000'
|
? 'http://localhost:5314'
|
||||||
: 'https://elk.zone'
|
: 'https://elk.zone'
|
||||||
|
|
||||||
export const DEFAULT_POST_CHARS_LIMIT = 500
|
export const DEFAULT_POST_CHARS_LIMIT = 500
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"homepage": "https://elk.zone/",
|
"homepage": "https://elk.zone/",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "nuxi build",
|
"build": "nuxi build",
|
||||||
"dev": "nuxi dev",
|
"dev": "nuxi dev --port 5314",
|
||||||
"start": "node .output/server/index.mjs",
|
"start": "node .output/server/index.mjs",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"postinstall": "nuxi prepare",
|
"postinstall": "nuxi prepare",
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"id": "1505854",
|
"id": "1505854",
|
||||||
"name": "Elk",
|
"name": "Elk",
|
||||||
"website": null,
|
"website": null,
|
||||||
"redirect_uri": "urn:ietf:wg:oauth:2.0:oob\nhttp://localhost:3000/api/mastodon.social/oauth\nhttps://elk.netlify.app/api/mastodon.social/oauth\nhttps://elk.zone/api/mastodon.social/oauth",
|
"redirect_uri": "urn:ietf:wg:oauth:2.0:oob\nhttp://localhost:5314/api/mastodon.social/oauth\nhttps://elk.netlify.app/api/mastodon.social/oauth\nhttps://elk.zone/api/mastodon.social/oauth",
|
||||||
"client_id": "MsxxG2t3ETcH0oNL571ckUfwUOmWhBPBK6EWrnSSqgg",
|
"client_id": "MsxxG2t3ETcH0oNL571ckUfwUOmWhBPBK6EWrnSSqgg",
|
||||||
"client_secret": "V6p1tuKpoVJ2QR2zbBqxVxDhsFtjPIfpc946_sQxFn8",
|
"client_secret": "V6p1tuKpoVJ2QR2zbBqxVxDhsFtjPIfpc946_sQxFn8",
|
||||||
"vapid_key": "BCk-QqERU0q-CfYZjcuB6lnyyOYfJ2AifKqfeGIm7Z-HiTU5T9eTG5GxVA0_OH5mMlI4UkkDTpaZwozy0TzdZ2M="
|
"vapid_key": "BCk-QqERU0q-CfYZjcuB6lnyyOYfJ2AifKqfeGIm7Z-HiTU5T9eTG5GxVA0_OH5mMlI4UkkDTpaZwozy0TzdZ2M="
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
"id": "218417",
|
"id": "218417",
|
||||||
"name": "Elk",
|
"name": "Elk",
|
||||||
"website": null,
|
"website": null,
|
||||||
"redirect_uri": "urn:ietf:wg:oauth:2.0:oob\nhttp://localhost:3000/api/mas.to/oauth\nhttps://elk.netlify.app/api/mas.to/oauth\nhttps://elk.zone/api/mas.to/oauth",
|
"redirect_uri": "urn:ietf:wg:oauth:2.0:oob\nhttp://localhost:5314/api/mas.to/oauth\nhttps://elk.netlify.app/api/mas.to/oauth\nhttps://elk.zone/api/mas.to/oauth",
|
||||||
"client_id": "b076ebc4xMQQI80m0aGxW6B41st33mOaARnrSc379L0",
|
"client_id": "b076ebc4xMQQI80m0aGxW6B41st33mOaARnrSc379L0",
|
||||||
"client_secret": "wEuorjZ5QkmyCFgGVzcHZdYV31uY4-YNkdBg7Wah7XA",
|
"client_secret": "wEuorjZ5QkmyCFgGVzcHZdYV31uY4-YNkdBg7Wah7XA",
|
||||||
"vapid_key": "BN3Nf2bG70_5AVlWDOw9AJQwkrXS6WQPNkLIKlYSkWjYxPSqAJ6oxEzNYMNQhFch1gCyTAuI4fu5z1uyboHLO0o="
|
"vapid_key": "BN3Nf2bG70_5AVlWDOw9AJQwkrXS6WQPNkLIKlYSkWjYxPSqAJ6oxEzNYMNQhFch1gCyTAuI4fu5z1uyboHLO0o="
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
"id": "101752",
|
"id": "101752",
|
||||||
"name": "Elk",
|
"name": "Elk",
|
||||||
"website": null,
|
"website": null,
|
||||||
"redirect_uri": "urn:ietf:wg:oauth:2.0:oob\nhttp://localhost:3000/api/fosstodon.org/oauth\nhttps://elk.netlify.app/api/fosstodon.org/oauth\nhttps://elk.zone/api/fosstodon.org/oauth",
|
"redirect_uri": "urn:ietf:wg:oauth:2.0:oob\nhttp://localhost:5314/api/fosstodon.org/oauth\nhttps://elk.netlify.app/api/fosstodon.org/oauth\nhttps://elk.zone/api/fosstodon.org/oauth",
|
||||||
"client_id": "uNXRXIjQRJUEs5Zg-86E5FUCsMQX-BHeoetqn11TEwc",
|
"client_id": "uNXRXIjQRJUEs5Zg-86E5FUCsMQX-BHeoetqn11TEwc",
|
||||||
"client_secret": "GALHIKfNfHyEA72-6fzNMJp8lsfbhTTu_7wMC3IEFs4",
|
"client_secret": "GALHIKfNfHyEA72-6fzNMJp8lsfbhTTu_7wMC3IEFs4",
|
||||||
"vapid_key": "BHKY6hkaUL7WByhqx8H8Knbfrpixu8vqTNjiu3XblHR-H6eY2ZD9LYe7fUxOuav6eCfwmK2LHWmzL22vvwN8B2E="
|
"vapid_key": "BHKY6hkaUL7WByhqx8H8Knbfrpixu8vqTNjiu3XblHR-H6eY2ZD9LYe7fUxOuav6eCfwmK2LHWmzL22vvwN8B2E="
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
"id": "91206",
|
"id": "91206",
|
||||||
"name": "Elk",
|
"name": "Elk",
|
||||||
"website": null,
|
"website": null,
|
||||||
"redirect_uri": "urn:ietf:wg:oauth:2.0:oob\nhttp://localhost:3000/api/m.cmx.im/oauth\nhttps://elk.netlify.app/api/m.cmx.im/oauth\nhttps://elk.zone/api/m.cmx.im/oauth",
|
"redirect_uri": "urn:ietf:wg:oauth:2.0:oob\nhttp://localhost:5314/api/m.cmx.im/oauth\nhttps://elk.netlify.app/api/m.cmx.im/oauth\nhttps://elk.zone/api/m.cmx.im/oauth",
|
||||||
"client_id": "-wu49ZeEI3oDca7ZKsFPiGr6kUNmIlISgbMtjCtOYL8",
|
"client_id": "-wu49ZeEI3oDca7ZKsFPiGr6kUNmIlISgbMtjCtOYL8",
|
||||||
"client_secret": "8Dhgwn0rs6-HYl7GYGyMTBXlfv7r8ZrkxcjA46jbodU",
|
"client_secret": "8Dhgwn0rs6-HYl7GYGyMTBXlfv7r8ZrkxcjA46jbodU",
|
||||||
"vapid_key": "BOtsUyc0M779KJ0j-AAsv_wANoDuLkh6tTh6l1muA8OY3xVs34iGsUichN7VXNxcMoGKdSbyIEZsnsbJf6e46DA"
|
"vapid_key": "BOtsUyc0M779KJ0j-AAsv_wANoDuLkh6tTh6l1muA8OY3xVs34iGsUichN7VXNxcMoGKdSbyIEZsnsbJf6e46DA"
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
"id": "189312",
|
"id": "189312",
|
||||||
"name": "Elk",
|
"name": "Elk",
|
||||||
"website": null,
|
"website": null,
|
||||||
"redirect_uri": "urn:ietf:wg:oauth:2.0:oob\nhttp://localhost:3000/api/mastodon.world/oauth\nhttps://elk.netlify.app/api/mastodon.world/oauth\nhttps://elk.zone/api/mastodon.world/oauth",
|
"redirect_uri": "urn:ietf:wg:oauth:2.0:oob\nhttp://localhost:5314/api/mastodon.world/oauth\nhttps://elk.netlify.app/api/mastodon.world/oauth\nhttps://elk.zone/api/mastodon.world/oauth",
|
||||||
"client_id": "s_t9JSDmAVbkQuZ38LApZZO12-nFYjUyloiMObOK0X0",
|
"client_id": "s_t9JSDmAVbkQuZ38LApZZO12-nFYjUyloiMObOK0X0",
|
||||||
"client_secret": "YpYOn-k3VBa4uY7pS1uHtC2qxxm0lpMITulwsZUOB4c",
|
"client_secret": "YpYOn-k3VBa4uY7pS1uHtC2qxxm0lpMITulwsZUOB4c",
|
||||||
"vapid_key": ""
|
"vapid_key": ""
|
||||||
|
|
|
@ -29,7 +29,7 @@ else {
|
||||||
}
|
}
|
||||||
|
|
||||||
const KNOWN_DOMAINS = [
|
const KNOWN_DOMAINS = [
|
||||||
'http://localhost:3000',
|
'http://localhost:5314',
|
||||||
'https://elk.netlify.app',
|
'https://elk.netlify.app',
|
||||||
'https://elk.zone',
|
'https://elk.zone',
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue