Skip to content

Commit

Permalink
Add test page to Github Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
claabs committed Oct 8, 2021
1 parent e06f509 commit 4808cf2
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ dist

config/*
test-cookies.json
test.html
test.png
test2.html

.idea
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"docker:build": "docker build . -t charlocharlie/epicgames-freegames-node:latest --target deploy",
"docker:build-dev": "docker build . -t charlocharlie/epicgames-freegames:dev --target deploy",
"docker:run": "docker run --rm -ti -v $(pwd)/config:/usr/app/config -p 3000:3000 -p 3001:3001 charlocharlie/epicgames-freegames-node:latest",
"docs": "typedoc --out docs src/common/config/classes.ts"
"docs": "typedoc --out docs src/common/config/classes.ts && cp test/test.html docs"
},
"dependencies": {
"class-transformer": "^0.4.0",
Expand Down
39 changes: 39 additions & 0 deletions test/test.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charSet="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>epicgames-freegames-node test page</title>
<meta name="description" content="Test page for epicgames-freegames-node" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#202020" />
<style>
body {
font-family: sans-serif;
text-align: center;
color: white;
background-color: rgb(32, 32, 32);
}

#complete {
display: none;
}

#complete:target {
display: block;
}
</style>
</head>

<body>
<h1>epicgames-freegames-node test page</h1>
<p>If you can see this, everything is working! When a captcha is presented, you will recieve a notification similar
to this one.</p>
<h2>Click the button below to complete the test.</h2>
<a href="#complete"><button>Close page</button></a>

<p id="complete">Complete</p>
</body>

</html>

0 comments on commit 4808cf2

Please sign in to comment.