You've already forked AstralRinth
forked from didirus/AstralRinth
Fix Cloudflare Pages build (#1285)
* fix(temp): remove box shadows from tailwind config * fix(temp): "polyfill" global during build process * refactor: use `import.meta` instead of deprecated `process` * oops: replace `process.server` as well
This commit is contained in:
@@ -130,7 +130,7 @@ useHead({
|
||||
const user = await useUser();
|
||||
const auth = await useAuth();
|
||||
|
||||
if (process.client) {
|
||||
if (import.meta.client) {
|
||||
await initUserFollows();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user