mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-13 19:22:05 +00:00
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
7 lines
165 B
JavaScript
7 lines
165 B
JavaScript
import { sendPug } from '../pug';
|
|
|
|
export default function initialize(app) {
|
|
app.get('/iframe', (req, res) => {
|
|
return sendPug(res, 'iframe');
|
|
});
|
|
}
|