chore: move off vercel

fuck vercel
This commit is contained in:
trafficlunar 2025-09-30 18:31:30 +01:00
parent 05f310c933
commit 4193ebcaf4
5 changed files with 3 additions and 10 deletions

View file

@ -29,7 +29,7 @@ function ThemeIcon({ inApp }: Props) {
}; };
return ( return (
<button onClick={onClick} title={theme} className={`text-white ${inApp ? "text-black" : ""}`}> <button onClick={onClick} title={theme} className={`cursor-pointer text-white ${inApp ? "text-black" : ""}`}>
{getIcon()} {getIcon()}
</button> </button>
); );

View file

@ -148,7 +148,7 @@ function SaveLitematic({ close, registerSubmit, dialogKeyHandler }: DialogProps)
// Write to file // Write to file
const bytes = await nbt.write(data, { compression: "gzip" }); const bytes = await nbt.write(data, { compression: "gzip" });
const blob = new Blob([bytes], { type: "application/x-gzip" }); const blob = new Blob([new Uint8Array(bytes)], { type: "application/x-gzip" });
const url = URL.createObjectURL(blob); const url = URL.createObjectURL(blob);
setLoading(false); setLoading(false);

View file

@ -150,7 +150,7 @@ function SaveSchem({ close, registerSubmit, dialogKeyHandler }: DialogProps) {
// Write to file // Write to file
const bytes = await nbt.write(data, { compression: "gzip" }); const bytes = await nbt.write(data, { compression: "gzip" });
const blob = new Blob([bytes], { type: "application/x-gzip" }); const blob = new Blob([new Uint8Array(bytes)], { type: "application/x-gzip" });
const url = URL.createObjectURL(blob); const url = URL.createObjectURL(blob);
setLoading(false); setLoading(false);

View file

@ -28,10 +28,6 @@ function PrivacyPolicy() {
. .
</li> </li>
<li>Blockmatic also does not use cookies.</li> <li>Blockmatic also does not use cookies.</li>
<li>
Blockmatic is hosted by Vercel. I can not guarantee that Vercel does not collect any data, therefore I recommend reviewing their privacy
policy for clarification.
</li>
</ul> </ul>
<p>Please also note that this privacy policy may be updated occasionally. It is recommended to review it from time to time.</p> <p>Please also note that this privacy policy may be updated occasionally. It is recommended to review it from time to time.</p>

View file

@ -1,3 +0,0 @@
{
"routes": [{ "src": "/[^.]+", "dest": "/", "status": 200 }]
}