Bu yerda juda oddiy Express (populyar Node.js veb-framework) ilovasi /public direktoriyasidagi statik fayllarni qo'llab-quvvatlaydi: const express = require('express'); const app = express(); app.use(express.static(__dirname + '/public', { extensions: ['html'] })); app.get('/', (req, res) => { res.send('Hello World!'); }); app.listen(3000, () => { console.log('Example app listening on port 3000!'); }); Bu serverni ishga tushiradi va port 3000 da tinglaydi. U uy (/where) sahifasiga so'rovlar uchun "Hello World!" bilan javob beradi va /public direktoriyasidagi statik fayllarni xizmat qiladi. Ushbu konfiguratsiya URL-
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence