File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ function ScriptContent() {
4848
4949 useEffect ( ( ) => {
5050 fetch (
51- `/ api/categories?_=${ process . env . NEXT_PUBLIC_BUILD_TIME || Date . now ( ) } ` ,
51+ `api/categories?_=${ process . env . NEXT_PUBLIC_BUILD_TIME || Date . now ( ) } ` ,
5252 )
5353 . then ( ( response ) => response . json ( ) )
5454 . then ( ( categories ) => {
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ export default function CommandMenu() {
5353 const fetchCategories = async ( ) => {
5454 setIsLoading ( true ) ;
5555 fetch (
56- `/ api/categories?_=${ process . env . NEXT_PUBLIC_BUILD_TIME || Date . now ( ) } ` ,
56+ `api/categories?_=${ process . env . NEXT_PUBLIC_BUILD_TIME || Date . now ( ) } ` ,
5757 )
5858 . then ( ( response ) => response . json ( ) )
5959 . then ( ( categories ) => {
You can’t perform that action at this time.
0 commit comments