From 2103706c99360762bb26118e476288d7c5bf1190 Mon Sep 17 00:00:00 2001 From: Chuck Dries Date: Sun, 10 Jul 2022 18:26:48 -0700 Subject: [PATCH] remove splat route - doesn't work with nginx? --- src/pages/{photogallery/[...].js => photogallery.js} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename src/pages/{photogallery/[...].js => photogallery.js} (97%) diff --git a/src/pages/photogallery/[...].js b/src/pages/photogallery.js similarity index 97% rename from src/pages/photogallery/[...].js rename to src/pages/photogallery.js index bcd9e1f..86514e4 100644 --- a/src/pages/photogallery/[...].js +++ b/src/pages/photogallery.js @@ -5,9 +5,9 @@ import { navigate } from "gatsby"; import { Helmet } from "react-helmet"; import { Picker, Item } from "@adobe/react-spectrum"; -import MasonryGallery from "../../components/MasonryGallery"; -import KeywordsPicker from "../../components/KeywordsPicker"; -import { getGalleryPageUrl } from "../../utils"; +import MasonryGallery from "../components/MasonryGallery"; +import KeywordsPicker from "../components/KeywordsPicker"; +import { getGalleryPageUrl } from "../utils"; const SORT_KEYS = { hue: ["fields", "imageMeta", "vibrantHue"],