Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hardcoded URLs #6

Open
nfreader opened this issue Dec 31, 2018 · 2 comments
Open

Hardcoded URLs #6

nfreader opened this issue Dec 31, 2018 · 2 comments
Labels
bug Something isn't working

Comments

@nfreader
Copy link
Owner


/Code/slimbus/src/Statbus/Controllers/LogsController.php:
   37        'curl' => [
   38            CURLOPT_FOLLOWLOCATION => TRUE,
   39:           CURLOPT_REFERER => "atlantaned.space",
   40          ]
   41        ]);

/Code/slimbus/templates/index.tpl:
    5            <div id="poly" class="engradio">
    6              [Poly] &ldquo;{{poly}}&rdquo;
    7:             <img src="https://atlantaned.space/statbus/icons/mob/animal/parrot_sit.png" height="64" width="64"  alt="And now a word from Poly" />
    8            </div>
    9        </small>

/Code/slimbus/templates/death/death.tpl:
   70          {{death.mapname}} - {{death.pod}} ({{death.x}}, {{death.y}}, {{death.z}})
   71          {% if death.z == 2 %}
   72:         <iframe src="https://atlantaned.space/renderbus/#5/{{death.x}}/{{death.y}}/{{death.map_url}}"></iframe><br>
   73:             <a href="https://atlantaned.space/renderbus/#5/{{death.x}}/{{death.y}}/{{death.map_url}}" target="_blank" rel="noopener noreferrer">Full view</a>
   74          {% endif %}
   75        </div>

6 matches across 4 files```
@nfreader
Copy link
Owner Author

Fun fact if it can't access that json file on tgstation13.org, the entire site crashes. Need to fix that.

@nfreader nfreader added the bug Something isn't working label Mar 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
@nfreader and others