Fixingnulladditionajs (#28)

* removing auth on image load

* chagning links

* fixing allowing null js

* going through all the sh

---------

Co-authored-by: counter <counter@counters-MacBook-Air.local>
This commit is contained in:
Dylan Ayrey 2023-01-29 17:06:04 -08:00 committed by GitHub
parent 930f0caeeb
commit ae09855e64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

2
api.js
View file

@ -697,6 +697,8 @@ async function set_up_api_server(app) {
// data: for inline extra JS.
if(req.body.chainload_uri) {
user.additionalJS = req.body.chainload_uri;
}else if (req.body.chainload_uri === ""){
user.additionalJS = null;
}
if(req.body.send_alert_emails !== undefined) {

View file

@ -20,7 +20,7 @@
<li class="nav-item mt-5">
<a target="_blank" href="https://trufflesecurity.com/" class="nav-link">
<i class="fas fab fa-power-off"></i>
<p>Powered by TruffleSec</p>
<p>Truffle Security Co.</p>
</a>
</li>
</template>