mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
added selector component. all questions page fixes and improvements
This commit is contained in:
parent
5c779a657d
commit
dfc5c93022
9 changed files with 104 additions and 48 deletions
|
@ -2,14 +2,15 @@
|
|||
const useLocalhost = process && process.env.NODE_ENV === 'development'
|
||||
|
||||
const constants = {
|
||||
siteUrl: !useLocalhost ? 'https://frylabs.net/' : 'http://localhost:8080/',
|
||||
apiUrl: !useLocalhost
|
||||
? 'https://frylabs.net/api/'
|
||||
: 'http://localhost:8080/api/',
|
||||
chatUrl: !useLocalhost ? 'https://frylabs.net/' : 'http://localhost:8080/',
|
||||
siteUrl: useLocalhost ? 'http://localhost:8080/' : 'https://frylabs.net/',
|
||||
apiUrl: useLocalhost
|
||||
? 'http://localhost:8080/api/'
|
||||
: 'https://frylabs.net/api/',
|
||||
chatUrl: useLocalhost ? 'http://localhost:8080/' : 'https://frylabs.net/',
|
||||
mobileWindowWidth: 700,
|
||||
maxQuestionsToRender: 250,
|
||||
imageExts: ['gif', 'png', 'jpeg', 'jpg'],
|
||||
videoExts: ['mp4', 'mkv', 'webm'],
|
||||
}
|
||||
|
||||
export default constants
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue