Initial Astro site for dd0c.net
This commit is contained in:
9
node_modules/astro/dist/core/path.js
generated
vendored
Normal file
9
node_modules/astro/dist/core/path.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import { isRemotePath as _externalIsRemotePath } from "@astrojs/internal-helpers/path";
|
||||
export * from "@astrojs/internal-helpers/path";
|
||||
const URL_PROTOCOL_REGEX = /^(?:(?:http|ftp|https|ws):?\/\/|\/\/)/;
|
||||
function isCoreRemotePath(path) {
|
||||
return URL_PROTOCOL_REGEX.test(path) || _externalIsRemotePath(path);
|
||||
}
|
||||
export {
|
||||
isCoreRemotePath
|
||||
};
|
||||
Reference in New Issue
Block a user