Spaces:
Running
Running
Final changes before responsiveness
Browse files
app/api/messages/route.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { NextResponse } from 'next/server'
|
|
| 2 |
import fs from 'fs'
|
| 3 |
import path from 'path'
|
| 4 |
|
| 5 |
-
const dataFilePath = path.join(
|
| 6 |
|
| 7 |
// Simple bad word list (expand as needed)
|
| 8 |
const BAD_WORDS = [
|
|
|
|
| 2 |
import fs from 'fs'
|
| 3 |
import path from 'path'
|
| 4 |
|
| 5 |
+
const dataFilePath = path.join('/tmp', 'messages.json')
|
| 6 |
|
| 7 |
// Simple bad word list (expand as needed)
|
| 8 |
const BAD_WORDS = [
|