Skip to content

Instantly share code, notes, and snippets.

app.post('/prompt', async (req, res) => {
const { message } = req.body;
if (!message) {
res.send({
success: false,
error: 'Something failed! Send data as JSON { "message": "prompt" }.',
});
} else {
let script = '';
var start = new Date();
<?php
get_header();
?>
<div id="filtersidebar" class="col-md-3" style="border: 1px solid lightgray;">
<?php echo do_shortcode('[facetwp facet="filter_by_flavor_acf"]'); ?>