diff options
Diffstat (limited to 'packages/astro/src/assets/utils/remotePattern.ts')
-rw-r--r-- | packages/astro/src/assets/utils/remotePattern.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/astro/src/assets/utils/remotePattern.ts b/packages/astro/src/assets/utils/remotePattern.ts new file mode 100644 index 000000000..203173ef3 --- /dev/null +++ b/packages/astro/src/assets/utils/remotePattern.ts @@ -0,0 +1,13 @@ +import { + isRemoteAllowed, + matchHostname, + matchPort, + matchPathname, + matchProtocol, + type RemotePattern, + matchPattern, +} from '@astrojs/internal-helpers/remote'; + +export { isRemoteAllowed, matchHostname, matchPort, matchPathname, matchProtocol, matchPattern }; + +export type { RemotePattern }; |