link updates

This commit is contained in:
mrfry 2023-04-02 09:39:53 +02:00
parent ba5c3f8e76
commit 20ce2d6ec8
3 changed files with 7 additions and 7 deletions

View file

@ -2,11 +2,11 @@
const useLocalhost = process && process.env.NODE_ENV === 'development' const useLocalhost = process && process.env.NODE_ENV === 'development'
const constants = { const constants = {
siteUrl: !useLocalhost ? 'http://frylabs.net/' : 'http://localhost:8080/', siteUrl: !useLocalhost ? 'https://frylabs.net/' : 'http://localhost:8080/',
apiUrl: !useLocalhost apiUrl: !useLocalhost
? 'http://frylabs.net/api/' ? 'https://frylabs.net/api/'
: 'http://localhost:8080/api/', : 'http://localhost:8080/api/',
chatUrl: !useLocalhost ? 'http://frylabs.net/' : 'http://localhost:8080/', chatUrl: !useLocalhost ? 'https://frylabs.net/' : 'http://localhost:8080/',
mobileWindowWidth: 700, mobileWindowWidth: 700,
maxQuestionsToRender: 250, maxQuestionsToRender: 250,
imageExts: ['gif', 'png', 'jpeg', 'jpg'], imageExts: ['gif', 'png', 'jpeg', 'jpg'],

View file

@ -21,7 +21,7 @@ function PasswordSection() {
<i>mentsd le biztos helyre a jelszót, hogy később is meglegyen</i>! <i>mentsd le biztos helyre a jelszót, hogy később is meglegyen</i>!
Ha többször kell megadnod, akkor az bug lesz. Ilyenkor ezt{' '} Ha többször kell megadnod, akkor az bug lesz. Ilyenkor ezt{' '}
<a <a
href="http://qmining.frylabs.net/feedback?man" href={`${constants.siteUrl}feedback?man`}
target="_blank" target="_blank"
rel="noreferrer" rel="noreferrer"
> >
@ -166,7 +166,7 @@ function RiskSection() {
<b>Bármikor leállhat a szerver</b> <b>Bármikor leállhat a szerver</b>
És akkor nem bírod megnézni a válaszokat. Erre van az{' '} És akkor nem bírod megnézni a válaszokat. Erre van az{' '}
<a <a
href="http://qmining.frylabs.net/allqr.txt?man" href={`${constants.siteUrl}allqr.txt?man`}
target="_blank" target="_blank"
rel="noreferrer" rel="noreferrer"
> >

View file

@ -83,7 +83,7 @@ export default function Script() {
</li> </li>
<li> <li>
<a <a
href="http://qmining.frylabs.net/install" href={`${constants.siteUrl}install`}
target="_blank" target="_blank"
rel="noreferrer" rel="noreferrer"
> >
@ -146,7 +146,7 @@ export default function Script() {
</li> </li>
<li> <li>
<a <a
href="http://qmining.frylabs.net/allqr.txt" href={`${constants.siteUrl}allqr.txt`}
target="_blank" target="_blank"
rel="noreferrer" rel="noreferrer"
> >