message: Use CloudFlare Workers for `html-preview-link`
diff: @@ -4,18 +4,16 @@ import * as pageDetect from 'github-url-detection';
  import features from '.';
  -const isSingleHTMLFile = (): boolean => pageDetect.isSingleFile() && (location.pathname.endsWith('.html') || location.pathname.endsWith('.htm'));
  +const isSingleHTMLFile = (): boolean => pageDetect.isSingleFile() && /\.html?$/.test(location.pathname);
  function init(): void {
  const rawButton = select<HTMLAnchorElement>('#raw-url')!;
  - const link = rawButton.pathname.split('/');
  - link.splice(3, 1); // Remove /raw/
  rawButton
  .parentElement! // `BtnGroup`
  .prepend(
  <a
  className="btn btn-sm BtnGroup-item"
  - href={`https://ghcdn.rawgit.org${link.join('/')}`}
  + href={`https://refined-github-html-preview.kidonng.workers.dev${rawButton.pathname}`}
  >
  Preview
  </a>
  