chore: add ES module type, health endpoint, and security docs
- Add 'type: module' to package.json to fix Node.js warnings - Add /api/health endpoint for container health checks - Document SMTP credential security best practices - Remove .next build artifacts (295MB saved locally)
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
"name": "w-make-com",
|
"name": "w-make-com",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
import { NextResponse } from "next/server";
|
||||||
|
|
||||||
|
export async function GET() {
|
||||||
|
return NextResponse.json({
|
||||||
|
status: "ok",
|
||||||
|
timestamp: new Date().toISOString(),
|
||||||
|
service: "w-make-portfolio",
|
||||||
|
});
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user