diff --git a/examples/next/app/api/swapi/route.ts b/examples/next/app/api/swapi/route.ts index 9166760..028c921 100644 --- a/examples/next/app/api/swapi/route.ts +++ b/examples/next/app/api/swapi/route.ts @@ -1,7 +1,7 @@ import axios from 'axios'; import { NextResponse } from 'next/server'; -const SWAPI_URL = 'https://swapi.dev/api/people/1'; +const SWAPI_URL = 'https://swapi.py4e.com/api/people/1'; export async function GET() { // Look - just one call to the SWAPI endpoint! diff --git a/package.json b/package.json index b016423..1734e87 100644 --- a/package.json +++ b/package.json @@ -74,5 +74,8 @@ "hooks": { "pre-commit": "lint-staged" } + }, + "engines": { + "node": ">=18.0.0" } -} +} \ No newline at end of file diff --git a/packages/webui/tailwind.config.js b/packages/webui/tailwind.config.js index 2750995..4569453 100644 --- a/packages/webui/tailwind.config.js +++ b/packages/webui/tailwind.config.js @@ -1,5 +1,6 @@ /** @type {import('tailwindcss').Config} */ -const defaultTheme = require('tailwindcss/defaultTheme'); +import defaultTheme from 'tailwindcss/defaultTheme'; + export default { darkMode: ['class'], content: ['./src/index.html', './src/**/*.tsx'],