mirror of
https://github.com/d0zingcat/BroadcastChannel.git
synced 2026-05-18 15:09:28 +00:00
5 lines
149 B
JavaScript
5 lines
149 B
JavaScript
export function onRequest(context, next) {
|
|
context.locals.SITE_URL = `${import.meta.env.SITE ?? ''}${import.meta.env.BASE_URL}`
|
|
return next()
|
|
};
|