Reubencf commited on
Commit
c4fe977
·
1 Parent(s): acf13fe

Final changes before responsiveness

Browse files
Files changed (1) hide show
  1. app/api/messages/route.ts +1 -1
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(process.cwd(), 'app/data/messages.json')
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 = [