mirror of
https://github.com/Luzifer/share.git
synced 2024-12-29 23:11:18 +00:00
Fix: Without file hash the index was shown
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
616ad4cde9
commit
b8224c74be
2 changed files with 25 additions and 24 deletions
48
bindata.go
48
bindata.go
|
@ -82,7 +82,7 @@ func (fi bindataFileInfo) Sys() interface{} {
|
|||
var _bindataFrontendAppjs = []byte(
|
||||
"\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x56\xcd\x8e\xdb\x38\x0c\xbe\xfb\x29\x78\x08\x20\xb9\x9b\x3a\x5b\xb4" +
|
||||
"\xa7\x64\x53\xec\xa2\x4d\x67\x06\x98\x9f\x45\x26\x73\x1b\xec\x54\xb1\x19\x4b\x53\x45\x32\x24\xb9\x49\xd1\xc9\xbb" +
|
||||
"\x2f\x24\xff\xc4\x4e\xd2\x74\x51\x60\x7d\x92\x25\xf2\x23\x3f\x92\x22\x25\xd1\xc1\x4a\x48\x7c\x98\x5f\xc3\x14\x54" +
|
||||
"\x2f\x24\xff\xc4\x4e\xd2\x74\x51\x60\x7d\x92\x25\xf2\x23\x3f\x92\xa2\x28\xd1\xc1\x4a\x48\x7c\x98\x5f\xc3\x14\x54" +
|
||||
"\x29\xe5\x24\x4a\xb5\xb2\x0e\x6e\xee\x2f\x9e\x6e\xef\x16\x4f\x9f\xee\x1e\x6e\x3f\xc2\x14\xc8\x27\x21\x11\x94\x76" +
|
||||
"\xb0\xd2\xa5\xca\xc8\xa1\xdc\xdf\xb3\xf9\xcd\xd5\x62\x31\x0b\xb2\xb7\xda\x01\x93\x52\x6f\x30\x03\xa7\x81\xa5\x29" +
|
||||
"\x5a\x1b\x0c\xf5\xf4\x2e\x66\xb7\xb3\xf9\xd5\x87\xa7\xd9\x7c\xee\xb5\xee\xf5\x1a\x1d\x17\x2a\x87\x0d\x2a\x07\x1b" +
|
||||
|
@ -92,28 +92,28 @@ var _bindataFrontendAppjs = []byte(
|
|||
"\xac\x28\x16\xc2\x49\x84\x29\x7c\xae\x0c\xfe\x09\x83\xef\x95\x85\x44\xea\x94\x39\xa1\x55\xc2\xb5\x75\xbb\xcf\x93" +
|
||||
"\xda\x3e\x71\x5e\x63\x98\xb0\xa2\x08\x2b\x12\x27\x0e\xb7\x8e\x36\x58\x0d\xfe\x09\xeb\x3b\x7f\x82\xeb\x25\x66\x3e" +
|
||||
"\xe6\x57\x6a\xa5\xa9\x0f\x9d\x0f\x11\x69\x08\x8a\x15\xd4\x9b\xd3\xee\x76\x8b\xa7\x32\x89\x33\x63\xb4\xb9\x41\x6b" +
|
||||
"\x59\x8e\xb4\x97\xcf\x86\x64\xe5\xc2\xbe\x00\xfc\xaa\x26\x90\xb0\x67\xb6\x0d\x26\x86\x2d\xb6\x4f\x8f\xce\xc6\x40" +
|
||||
"\x2e\x67\x7f\x7d\x24\xc3\x7a\xd7\x96\x21\xbd\x63\xa0\x19\x73\x6c\x08\xd6\x31\x57\xda\x21\x6c\xb9\xe9\xc5\xb9\xef" +
|
||||
"\x9b\xa7\x77\x42\x61\x52\x0b\xef\x1a\x74\xf4\x24\xc6\x40\xb7\xdc\x34\x92\x67\x50\xbd\x70\x4f\xf4\x00\x6f\xb7\x0f" +
|
||||
"\xf0\x79\x3f\x6a\x7c\x9f\x7d\xf7\xad\xf0\xb1\xdf\x72\x93\xe4\xe8\xe6\x68\x0b\xad\x2c\x5e\x22\xcb\xd0\x50\xf2\x41" +
|
||||
"\x2b\x87\xca\xbd\x5e\x7c\x2b\x90\x34\x49\x1d\x50\x92\xa4\x5a\x39\x26\x14\x1a\x12\x27\x5c\x64\xd8\x54\x96\x3f\xf3" +
|
||||
"\x61\x55\x6c\xdd\x16\x45\x9d\x81\xc4\x96\x4b\xeb\x8c\x50\x79\xbb\x23\x99\x75\x57\x2a\xc3\xed\xdd\x8a\x92\x11\x89" +
|
||||
"\xe1\x37\x78\x13\x1f\x20\x49\xa1\xbe\xbc\xe6\x06\x57\x24\x4e\x98\x73\x86\x92\xf0\x33\x6c\x12\xdb\x78\xe5\x6b\xc6" +
|
||||
"\x93\x49\xd6\xcc\xa5\x9c\x8e\xfe\x11\x6b\x96\xe3\xe3\x68\x14\xef\xcb\xa7\x87\x69\x4d\xda\x42\xfa\x75\x17\x71\x2f" +
|
||||
"\x6e\xb9\xde\xbc\x0e\x50\x24\x0e\x3f\xb4\x3d\x36\xe8\x4a\xa3\x7a\xc5\x76\xe4\xc4\x57\x91\xa1\xee\x3b\xe1\xa3\x6e" +
|
||||
"\x4d\x0a\x53\x8f\xff\x87\xd5\xa5\x49\xf1\x3d\x69\x51\xad\x49\xcf\x3a\x15\xce\x8b\x02\x55\xb6\xd0\x74\x40\x49\xb0" +
|
||||
"\x40\xe2\x63\xa7\xeb\x83\x5f\x70\x9a\x95\x99\xd0\x8f\x23\xca\x58\xfa\xb2\x2e\xde\xbe\xac\x0b\xcc\xe3\xc1\xff\xc8" +
|
||||
"\x21\x18\x3c\xc5\xa1\x3e\xf8\x05\x0e\xd4\x97\xde\xe3\xe8\x85\x15\x85\x14\x55\x0f\x7b\x1c\x3d\xb3\xaf\xcc\xa6\x46" +
|
||||
"\x14\x2e\xee\x95\xc5\xbe\x1d\x3c\xcc\xaf\x87\x9d\xdb\xe7\xaf\x8e\xaf\xfd\x31\x10\x8f\xd7\x76\x85\x4e\xb7\xb8\x98" +
|
||||
"\x2d\x3a\xdb\xfd\x76\x71\x70\x97\x03\xb1\x54\x67\xed\xcd\x08\x32\x93\xfe\x79\x45\x3c\x58\x3b\xe4\xed\x3f\x2e\x9f" +
|
||||
"\x6d\xe2\xa7\xc1\xa5\xc8\xb9\x14\x39\x77\xfe\x42\x75\x44\x76\x7b\x67\x7e\xde\x5d\xfe\x63\x7f\xe9\xa0\xee\xce\x65" +
|
||||
"\xa1\x75\x3f\x47\x85\x46\xa4\x3d\x06\xdd\xbe\x74\x64\xa9\xd3\x91\xd6\x55\x4f\x0f\x03\xa1\x42\xb7\x1b\xe1\x52\x1e" +
|
||||
"\x78\x24\x7d\x79\x80\x94\x59\x84\x77\xbf\xbf\x1b\x77\x32\xd3\xe8\xf7\xa6\xc2\x9e\xcb\xd2\x20\xfb\x32\xe9\xeb\xbf" +
|
||||
"\x3d\xa7\xdf\x4e\xff\x1f\x60\x64\xb8\x62\xa5\x74\x3f\x82\xe8\x3c\x04\x4e\x02\xec\x7a\xb3\xf2\x68\xb6\xd5\x60\x27" +
|
||||
"\x63\x78\x28\xd3\x3e\x10\x48\x12\x92\xdf\x14\x5a\x17\xe3\xe7\x0d\x3c\xa4\xb0\xd1\x3f\x4a\x60\x33\xcc\x3b\x29\xab" +
|
||||
"\x07\xf8\xd1\x9b\x81\x59\xde\xe9\xfa\x6f\x6a\x13\x81\xe8\xf1\x0b\xa0\xb6\xb1\x8b\xa2\x01\x5d\x95\x2a\xf5\x10\xb5" +
|
||||
"\x95\xd0\x6e\xc2\xd3\x64\x0a\x0a\x37\xd5\xbb\xa8\x72\x2a\x6c\x27\xd5\xf3\x68\x12\xf9\xea\xfc\x37\x00\x00\xff\xff" +
|
||||
"\x9a\x1f\x14\xac\xf6\x09\x00\x00")
|
||||
"\x59\x8e\xb4\x97\xcf\x9a\x24\x80\x41\x57\x1a\x55\x53\xae\x1c\xda\x97\x83\x5f\xd5\x74\x12\xf6\xcc\xb6\xc1\xe0\xb0" +
|
||||
"\xb5\xe4\x93\xa5\xb3\x31\x90\xcb\xd9\x5f\x1f\xc9\xb0\xde\xb5\x65\x48\xf6\x18\x68\xc6\x1c\x1b\x82\x75\xcc\x95\x76" +
|
||||
"\x08\x5b\x6e\x7a\x51\xef\x7b\xea\xc9\x9e\x50\x68\xdc\xdc\x35\xe8\xe8\x29\x8d\x81\x6e\xb9\x69\x24\xcf\xa0\x7a\xe1" +
|
||||
"\x9e\xe8\x01\xde\x6e\x1f\xee\xf3\x7e\xd4\xf8\xbe\x16\xdc\xb7\xc2\x67\x62\xcb\x4d\x92\xa3\x9b\xa3\x2d\xb4\xb2\x78" +
|
||||
"\x89\x2c\x43\x43\xc9\x07\xad\x1c\x2a\xf7\x7a\xf1\xad\x40\xd2\xa4\x78\x40\x49\x92\x6a\xe5\x98\x50\x68\x48\x9c\x70" +
|
||||
"\x91\x61\x53\x67\xfe\xcc\x87\x55\xb1\x75\x5b\x22\x75\x06\x12\x5b\x2e\xad\x33\x42\xe5\xed\x8e\x64\xd6\x5d\xa9\x0c" +
|
||||
"\xb7\x77\x2b\x4a\x46\x24\x86\xdf\xe0\x4d\x7c\x80\x24\x85\xfa\xf2\x9a\x1b\x5c\x91\x38\x61\xce\x19\x4a\xc2\xcf\xb0" +
|
||||
"\x49\x6c\xe3\x95\xaf\x20\x4f\x26\x59\x33\x97\x72\x3a\xfa\x47\xac\x59\x8e\x8f\xa3\x51\xbc\x2f\xa6\x1e\xa6\x35\x69" +
|
||||
"\x0b\xe9\xd7\x5d\xc4\xbd\xb8\xe5\x7a\xf3\x3a\x40\x91\x38\xfc\xd0\x73\xc5\x76\xe4\xc4\x57\x91\xa1\xee\x3b\xe1\xa3" +
|
||||
"\x6e\x4d\x0a\x53\x8f\xff\x87\xd5\xa5\x49\xf1\x3d\x69\x51\xad\x49\xcf\x3a\x15\xce\x8b\x02\x55\xb6\xd0\x74\x40\x49" +
|
||||
"\xb0\x40\xe2\x63\xa7\xeb\x83\x5f\x70\x9a\x95\x99\xd0\x8f\x23\xca\x58\xfa\xb2\x2e\xde\xbe\xac\x0b\xcc\xe3\xc1\xff" +
|
||||
"\xc8\x21\x18\x3c\xc5\xa1\x3e\xf8\x05\x0e\xd4\x97\xde\xe3\xe8\x85\x15\x85\x14\x55\x47\x7b\x1c\x3d\xb3\xaf\xcc\xa6" +
|
||||
"\x46\x14\x2e\xee\x95\xc5\xbe\x1d\x3c\xcc\xaf\x87\x9d\xdb\xe7\xaf\x8e\xaf\xfd\x31\x10\x8f\xd7\x76\x85\x4e\xb7\xb8" +
|
||||
"\x98\x2d\x3a\xdb\xfd\x76\x71\x70\x97\x03\xb1\x54\x67\xed\xcd\x08\x32\x93\xfe\x79\x45\x3c\x58\x3b\xe4\xed\x3f\x2e" +
|
||||
"\x9f\x6d\xe2\xdf\x86\x4b\x91\x73\x29\x72\xee\xfc\x85\xea\x88\xec\xf6\xce\xfc\xbc\xbb\xfc\xc7\xfe\xd2\x41\xdd\x9d" +
|
||||
"\xcb\x42\xeb\x7e\x8e\x0a\x8d\x48\x7b\x0c\xba\x7d\xe9\xc8\x52\xa7\x23\xad\xab\x0e\x1f\x9e\x87\x0a\xdd\x6e\x84\x4b" +
|
||||
"\x79\xe0\x91\xf4\xe5\x01\x52\x66\x11\xde\xfd\xfe\x6e\xdc\xc9\x4c\xa3\xdf\x7b\x23\xf6\x5c\x96\x06\xd9\x97\x49\x5f" +
|
||||
"\xff\xed\x39\xfd\x76\x16\xf8\x01\x46\x86\x2b\x56\x4a\xf7\x23\x88\xce\x58\x70\x12\x60\xd7\x7b\x39\x8f\x5e\xba\x1a" +
|
||||
"\xec\x64\x0c\x0f\x65\xda\x71\x81\x24\x21\xf9\x4d\xa1\x75\x31\x7e\xde\xc0\x43\x0a\x1b\xfd\xa3\x04\x36\x4f\x7b\x27" +
|
||||
"\x65\xf5\x73\x7e\x34\x41\x30\xcb\x3b\x5d\xff\x4d\x6d\x22\x10\x3d\x9e\x07\x6a\x1b\xbb\x28\x1a\xd0\x55\xa9\x52\x0f" +
|
||||
"\x51\x5b\x09\xed\x26\x0c\x2a\x53\x50\xb8\xa9\xa6\xa4\xca\xa9\xb0\x9d\x54\xc3\xd2\x24\xf2\xd5\xf9\x6f\x00\x00\x00" +
|
||||
"\xff\xff\x2d\x32\x3d\xf5\x04\x0a\x00\x00")
|
||||
|
||||
func bindataFrontendAppjsBytes() ([]byte, error) {
|
||||
return bindataRead(
|
||||
|
@ -132,7 +132,7 @@ func bindataFrontendAppjs() (*asset, error) {
|
|||
|
||||
info := bindataFileInfo{
|
||||
name: "frontend/app.js",
|
||||
size: 2550,
|
||||
size: 2564,
|
||||
md5checksum: "",
|
||||
mode: os.FileMode(436),
|
||||
modTime: time.Unix(1, 0),
|
||||
|
|
|
@ -20,6 +20,7 @@ class Share {
|
|||
embedFileInfo(file = '') {
|
||||
if (file === '') {
|
||||
this.handleErrorMessage(MSG_NOT_FOUND);
|
||||
return;
|
||||
}
|
||||
|
||||
fileURL = file;
|
||||
|
|
Loading…
Reference in a new issue