sync/src/web/routes/iframe.js
Xaekai 25ddc336e0 Use child iframe for BitChute
By using an iframe we can take advantage of the referrer meta tag,
while still being able to scaffold everything relatively easily because it's same-origin
2022-09-18 19:10:36 -07:00

7 lines
165 B
JavaScript

import { sendPug } from '../pug';
export default function initialize(app) {
app.get('/iframe', (req, res) => {
return sendPug(res, 'iframe');
});
}