Skip to content

Commit

Permalink
Update main.html
Browse files Browse the repository at this point in the history
  • Loading branch information
SeaN0X authored Dec 18, 2024
1 parent 13028b1 commit 61276a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
new_url= "https://sean0x.github.io/games/"+game+"/xml/"+file_xml_name
console.log("formatted: "+new_url)
} else
if(arg1.url.match(".swf")){
if(arg1.url.match("swfs")){

const file_swf_name = arg1.url.match(/([^\/]+\.swf)$/g)[0]
console.log(file_swf_name)
Expand Down

0 comments on commit 61276a3

Please sign in to comment.