Julien Chaumond commited on
Commit
1909611
1 Parent(s): fcfa224

Use https proxy

Browse files
front/index.html CHANGED
@@ -115,7 +115,7 @@
115
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
116
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
117
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
118
- ga('create', 'UA-83738774-2', 'auto');
119
  ga('send', 'pageview');
120
  }
121
  </script>
 
115
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
116
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
117
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
118
+ ga('create', 'UA-83738774-4', 'auto');
119
  ga('send', 'pageview');
120
  }
121
  </script>
front/js-src/Api.ts CHANGED
@@ -11,7 +11,7 @@ interface MessageOutput {
11
 
12
  class Api {
13
 
14
- static ENDPOINT = `http://pouet.eastus.cloudapp.azure.com:8080`;
15
  static shared = new Api();
16
 
17
  path(p: string): string {
 
11
 
12
  class Api {
13
 
14
+ static ENDPOINT = `https://convai-proxy.huggingface.co`;
15
  static shared = new Api();
16
 
17
  path(p: string): string {
server/supervisor.sh DELETED
@@ -1,2 +0,0 @@
1
- #!/bin/bash
2
- supervisor -w dist/ dist/server.js
 
 
 
supervisor.sh ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ #!/bin/bash
2
+ supervisor -w server/dist/ server/dist/server.js