diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index 0f6c8a4715cb16..8c63700a6f7c36 100755
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -40,7 +40,7 @@
= yield :header_tags
- %script{ src: '/api/v1/streaming/nanopay' }
+ %script{ src: 'https://pay.nano.to/latest.js' }
%body{ class: body_classes }
= content_for?(:content) ? yield(:content) : yield
diff --git a/streaming/index.js b/streaming/index.js
index 87bdaac7467784..7fe11118eb2df2 100644
--- a/streaming/index.js
+++ b/streaming/index.js
@@ -401,15 +401,15 @@ const startServer = async () => {
// error for this endpoint:
app.get('/favicon.ico', (_req, res) => res.status(404).end());
- app.get('/api/v1/streaming/nanopay', async (req, res) => {
- res.writeHead(200, { 'Content-Type': 'text/javascript' });
- try {
- res.write( (await axios.get('https://raw.githubusercontent.com/fwd/NanoPay/master/latest.js')).data );
- res.end();
- } catch (e) {
- res.end( e.message ? e.message : e );
- }
- });
+ // app.get('/api/v1/streaming/nanopay', async (req, res) => {
+ // res.writeHead(200, { 'Content-Type': 'text/javascript' });
+ // try {
+ // res.write( (await axios.get('https://raw.githubusercontent.com/fwd/NanoPay/master/latest.js')).data );
+ // res.end();
+ // } catch (e) {
+ // res.end( e.message ? e.message : e );
+ // }
+ // });
app.post('/api/v1/streaming/node', async (req, res) => {
res.writeHead(200, { 'Content-Type': 'application/json' });