Revert "Fix: subdirectory deployment (#2205)"
This revers commit b8eda91005
This commit is contained in:
1 parent
9e3bc8e64f
commit
8ec488efbd
20 files changed
+41
-42
No files matched your search
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user