Integrated channel filter, partially restored actor bio.
This commit is contained in:
@@ -1,9 +1,17 @@
|
||||
// https://vike.dev/onRenderHtml
|
||||
import config from 'config';
|
||||
import { renderToString as renderToString_ } from '@vue/server-renderer';
|
||||
import { escapeInject, dangerouslySkipEscape } from 'vike/server';
|
||||
import { escapeInject, dangerouslySkipEscape } from 'vike/server'; /* eslint-disable-line import/extensions */
|
||||
|
||||
import { createApp } from './app.js';
|
||||
import getTitle from '../src/get-title.js';
|
||||
|
||||
function getTitle(location) {
|
||||
if (!location) {
|
||||
return config.title;
|
||||
}
|
||||
|
||||
return `${config.title} - ${location.slice(0, 1).toUpperCase()}${location.slice(1)}`;
|
||||
}
|
||||
|
||||
async function renderToString(app) {
|
||||
let err;
|
||||
|
||||
Reference in New Issue
Block a user