diff --git a/mos/bindata_assetfs.go b/mos/bindata_assetfs.go
index f6b5ced99..b3d1c970f 100644
--- a/mos/bindata_assetfs.go
+++ b/mos/bindata_assetfs.go
@@ -5697,7 +5697,7 @@ var _web_rootPage_codeHtml = []byte(`
App Manager  
$(document).off('click', '#toolbar-copy-button');
$(document).on('click', '#toolbar-copy-button', function() {
var btn = $(this);
- var fileName = $('#file-dropdown').val().replace(/^.*\//, '');
+ var fileName = $('#file-dropdown').val().replace(/^.*[\\\/]/, '');
var text = code_editor.getValue();
if (!fileName) return;
spin(btn);