Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

248 B
Raw Blame
export function getWorkerUrl(name: string) {
  return (
    // NOTE: worker can not use publicPath because it must obey the same-origin policy
    (environment.subPath || '/') +
    'js/' +
    `${name}-${BUILD_CONFIG.appVersion}.worker.js`
  );
}