Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
8
Frontend-Learner/node_modules/nuxt/dist/app/composables/url.js
generated
vendored
Normal file
8
Frontend-Learner/node_modules/nuxt/dist/app/composables/url.js
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import { getRequestURL } from "h3";
|
||||
import { useRequestEvent } from "./ssr.js";
|
||||
export function useRequestURL(opts) {
|
||||
if (import.meta.server) {
|
||||
return getRequestURL(useRequestEvent(), opts);
|
||||
}
|
||||
return new URL(globalThis.location.href);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue