File tree Expand file tree Collapse file tree 2 files changed +16
-13
lines changed
Expand file tree Collapse file tree 2 files changed +16
-13
lines changed Original file line number Diff line number Diff line change 11export default async function ( ) {
22 if ( ! ( new Date ( ) . getMonth ( ) === 3 && new Date ( ) . getDate ( ) === 1 ) ) return ;
33
4- if ( window . location . pathname . toLowerCase ( ) . startsWith ( "/users/" ) ) {
5- let pong = await import ( "./pong/profile.js" )
6- pong . default ( )
7- }
4+ if ( window . location . pathname . toLowerCase ( ) . startsWith ( "/users/" ) ) {
5+ let pong = await import ( "./pong/profile.js" ) ;
6+ pong . default ( ) ;
7+ }
88
9- if ( window . location . pathname . toLowerCase ( ) . startsWith ( "/explore/" ) || window . location . pathname . toLowerCase ( ) . startsWith ( "/search/" ) ) {
10- let jokes = await import ( "./jokes/script.js" )
11- jokes . default ( )
12- }
9+ if (
10+ window . location . pathname . toLowerCase ( ) . startsWith ( "/explore/" ) ||
11+ window . location . pathname . toLowerCase ( ) . startsWith ( "/search/" )
12+ ) {
13+ let jokes = await import ( "./jokes/script.js" ) ;
14+ jokes . default ( ) ;
15+ }
1316
14- if ( window . location . pathname . toLowerCase ( ) . startsWith ( "/projects/" ) ) {
15- let clap = await import ( "./clap/script.js" )
16- clap . default ( )
17- }
17+ if ( window . location . pathname . toLowerCase ( ) . startsWith ( "/projects/" ) ) {
18+ let clap = await import ( "./clap/script.js" ) ;
19+ clap . default ( ) ;
20+ }
1821}
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ async function fetchAndProcessImage(url) {
5353}
5454
5555fetchAndProcessImage (
56- `http ://localhost:3000 /pfp/${ new URLSearchParams ( window . location . search ) . get (
56+ `https ://data.scratchtools.app /pfp/${ new URLSearchParams ( window . location . search ) . get (
5757 "id"
5858 ) } /`
5959) ;
You can’t perform that action at this time.
0 commit comments