Skip to content

Commit 24ebf7a

Browse files
committed
changed html pages to use local image source, not working yet, i think it has to do with the fact that folder structure is not going to root folder first.
1 parent 4822d12 commit 24ebf7a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.idea/LGSM-WebGUI.iml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ I was struggling a lot in making an API that would work properly from my lack of
1111

1212
1. Build the container: `docker build -t webgsm .`
1313
2. Run the Container: `docker run -d -p 5050:5050 -v /var/run/docker.sock:/var/run/docker.sock webgsm`
14-
3. Access the Web App: Open a browser and go to `http://localhost:5000/frontend/index.html`
14+
3. Access the Web App: Open a browser and go to `http://localhost:5050/frontend/index.html`
1515

1616
Notes:
1717
The `-v /var/run/docker.sock:/var/run/docker.sock` part allows the container to manage Docker on the host. This is powerful but risky—use with care.

game_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
game_pages = {
22
'cs2': '/static/images/cs2.jpg',
3-
'factorio': '/static/images/fctr.jpg'
3+
'fctr': '/static/images/fctr.jpg'
44
# Add more games here as needed
55
}

templates/games/cs2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h1>Counter Strike 2</h1>
88

99
{% block sidebar %}
1010
<div class="sidebar-images">
11-
<img src="https://cdn.cloudflare.steamstatic.com/steam/apps/730/library_600x900.jpg?t=1695852468" alt="Counter Strike 2 Poster">
11+
<img src="/static/images/cs2.jpg" alt="Counter Strike 2 Poster">
1212
</div>
1313

1414
<div class="sidebar-buttons">

0 commit comments

Comments
 (0)