This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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"]'); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); |