1
0
mirror of https://github.com/barthuijgen/factorio-sites.git synced 2025-01-21 11:41:56 +02:00

fix: moved fbe assets to new host

This commit is contained in:
Bart Huijgen 2022-11-14 11:13:35 +01:00
parent b67d873546
commit b3bb1d88bd
2 changed files with 5 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -66,7 +66,9 @@ export const useFbeData = (): FactorioData | null => {
useEffect(() => {
(async () => {
if (!fbeDataState.value) {
const result = await fetch("/api/fbe-proxy/data.json")
const result = await fetch(
"https://storage.googleapis.com/factorio-blueprints-fbe-assets/data.json"
)
.then((res) => res.json())
.catch(() => {
console.error("Failed to fetch data.json");