no-cache
не значит "без кэша", а значит "как браузеру взбредёт", а без кэша это no-store
.:)Win + R
, cmd
,Enter
,nslookup aurum.femeretes.org
(рабочий сервер),Enter
,Win + R
, notepad C:\Windows\System32\drivers\etc\hosts
,Ctrl + Shift + Enter
,176.58.41.91 storm.femeretes.org
(ip рабочего сервера, адрес нерабочего),176.58.41.91 femeretes.org
(ip рабочего сервера, адрес балансировщика). router.get('/exchange/tsx/:id', async (req, res) => {
const { id } = req.params;
try {
const prefetchData = await getDataById(id);
if (!prefetchData) {
return res.status(404).send('not found');
}
let index = await fs.readFile(
path.join(staticFilesPath, "index.html"),
'utf8'
);
index = index.replace('</head>', `
<script>
window.prefetchData = ${JSON.stringify(prefetchData)};
</script>
$&`);
res.send(index);
} catch (error) {
console.error('Error:', error);
res.status(500).send('An error occurred');
}
});
window.prefetchData
. {
name: 'json',
label: '...',
field: '...',
align: 'left',
format: (json) => JSON.stringify(typeof json === 'string' ? JSON.parse(json) : json, null, 2),
style: 'white-space: pre-line',
},
<template #body-cell-json="props">
<q-td :props="props">
<json-viewer :value="props.value"/>
</q-td>
</template>
if (direction == 1) then return end
то должно игнорировать нажатие. Но хз, я больше по ahk и то не гуру.