Revert "Fix: subdirectory deployment (#2205)"

This revers commit b8eda91005
This commit is contained in:
shamoon
2023-10-18 11:44:26 -07:00
parent 9e3bc8e64f
commit 8ec488efbd
20 changed files with 41 additions and 42 deletions

View File

@@ -2,7 +2,7 @@ import { MdRefresh } from "react-icons/md";
export default function Revalidate() {
const revalidate = () => {
fetch("api/revalidate").then((res) => {
fetch("/api/revalidate").then((res) => {
if (res.ok) {
window.location.reload();
}