Skip to content

Commit

Permalink
Node version (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
nlkluth authored Jan 9, 2025
1 parent 48e1e8b commit ea1bb24
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/next/app/api/swapi/route.ts
Original file line number Diff line number Diff line change
@@ -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!
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,8 @@
"hooks": {
"pre-commit": "lint-staged"
}
},
"engines": {
"node": ">=18.0.0"
}
}
}
3 changes: 2 additions & 1 deletion packages/webui/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -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'],
Expand Down

0 comments on commit ea1bb24

Please sign in to comment.