mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-22 14:24:40 -07:00
Merge pull request #81 from faceshiftlabs/feat/colab-flask
pair socket to default host
This commit is contained in:
commit
8a400af490
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@
|
|||
$('button#zoom_prev').click(zoom_prev);
|
||||
$('button#zoom_next').click(zoom_next);
|
||||
|
||||
const socket = io.connect('http://' + document.domain + ':' + location.port);
|
||||
const socket = io.connect();
|
||||
socket.on('preview', function(msg) {
|
||||
console.log(msg);
|
||||
$('img#preview').attr("src", "{{ url_for('preview_image') }}?q=" + new Date().getTime());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue