- Admin dashboard (/admin/consent-logs) with password auth - Consent API (/api/consent) with SQLite + IP hashing - Privacy Policy (Thai) - PDPA Section 36 compliant - Terms & Conditions (Thai) - 9 standard clauses - .env.example template with Umami placeholder All pages preserve current design system.
6 lines
196 B
JavaScript
6 lines
196 B
JavaScript
if (typeof process !== 'undefined' && process.env.NODE_ENV === 'production') {
|
|
module.exports = require('./dist/emnapi.cjs.min.js')
|
|
} else {
|
|
module.exports = require('./dist/emnapi.cjs.js')
|
|
}
|