Revert "xo: Fix import/extensions."

This reverts commit 5623ab3866.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2022-03-08 21:58:40 -08:00
parent bc59714192
commit 4151e020f6
45 changed files with 179 additions and 179 deletions

View File

@@ -3,7 +3,7 @@ import fs from "fs";
import os from "os";
import path from "path";
import {html} from "../../../common/html.js";
import {html} from "../../../common/html";
export function isUploadsUrl(server: string, url: URL): boolean {
return url.origin === server && url.pathname.startsWith("/user_uploads/");