fix: correct import paths for coaster-match module
Imports must appear before other statements in ES modules. Also drop the explicit .ts extension from import paths — Next.js bundler resolves them without it, and the extension after const was causing the module to silently fail in the app. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
* See: https://queue-times.com/en-US/pages/api
|
||||
*/
|
||||
|
||||
const BASE = "https://queue-times.com/parks";
|
||||
import { isCoasterMatch } from "../coaster-match";
|
||||
|
||||
import { isCoasterMatch, normalizeForMatch } from "../coaster-match.ts";
|
||||
const BASE = "https://queue-times.com/parks";
|
||||
|
||||
const HEADERS = {
|
||||
"User-Agent":
|
||||
|
||||
Reference in New Issue
Block a user