Fix links
This commit is contained in:
@@ -111,7 +111,7 @@ export default function Sidebar () {
|
|||||||
</Link>
|
</Link>
|
||||||
<a
|
<a
|
||||||
draggable={false}
|
draggable={false}
|
||||||
onClick={() => openUrl('https://berrydash.lncvrt.xyz/discord')}
|
onClick={() => openUrl('https://games.lncvrt.xyz/discord')}
|
||||||
className='link'
|
className='link'
|
||||||
>
|
>
|
||||||
<FontAwesomeIcon icon={faDiscord} className='mr-1' /> Community
|
<FontAwesomeIcon icon={faDiscord} className='mr-1' /> Community
|
||||||
|
|||||||
@@ -160,7 +160,7 @@ export default function RootLayout ({
|
|||||||
setLoadingText('Checking latest version...')
|
setLoadingText('Checking latest version...')
|
||||||
try {
|
try {
|
||||||
const response = await axios.get(
|
const response = await axios.get(
|
||||||
'https://berrydash.lncvrt.xyz/database/launcher/latest.php'
|
'https://games.lncvrt.xyz/database/launcher/latest.php'
|
||||||
)
|
)
|
||||||
const client = await app.getVersion()
|
const client = await app.getVersion()
|
||||||
if (response.data !== client) {
|
if (response.data !== client) {
|
||||||
@@ -290,7 +290,7 @@ export default function RootLayout ({
|
|||||||
<button
|
<button
|
||||||
className='button'
|
className='button'
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
openUrl('https://berrydash.lncvrt.xyz/download')
|
openUrl('https://games.lncvrt.xyz/berrydash/download')
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
Download latest version
|
Download latest version
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ export default function Leaderboards () {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
const response = await axios.post(
|
const response = await axios.post(
|
||||||
'https://berrydash.lncvrt.xyz/database/getTopPlayers.php',
|
'https://games.lncvrt.xyz/database/berrydash/getTopPlayers.php',
|
||||||
formData,
|
formData,
|
||||||
{
|
{
|
||||||
headers: {
|
headers: {
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ export default function Installs () {
|
|||||||
while (normalConfig != null) {
|
while (normalConfig != null) {
|
||||||
const useWine = normalConfig.settings.useWineOnUnixWhenNeeded
|
const useWine = normalConfig.settings.useWineOnUnixWhenNeeded
|
||||||
const res = await axios.get(
|
const res = await axios.get(
|
||||||
'https://berrydash.lncvrt.xyz/database/launcher/versions.php'
|
'https://games.lncvrt.xyz/database/launcher/versions.php'
|
||||||
)
|
)
|
||||||
const p = platform()
|
const p = platform()
|
||||||
const filtered = res.data.filter((d: { platforms: string[] }) =>
|
const filtered = res.data.filter((d: { platforms: string[] }) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user