Cjiio
Cjiio
非已知MIME,为自定义后缀,请问如何解决
``` public static String getMimeType(File file) { String suffix = getSuffix(file); if (suffix == null) { return "file/*"; } String type = MimeTypeMap.getSingleton().getMimeTypeFromExtension(suffix); if (type != null || !type.isEmpty()) {...
怎么引入呀?我这儿打包成aar后运行提示空指针
After installing the panel, I modify the configuration file and access the web. The server displays 502
``` { "logs": "/var/log/pufferpanel", "panel": { "database": { "dialect": "mysql", "url": "game:game@tcp(mysqlip:3306)/pufferpanel" }, "web": { "files": "/var/www/pufferpanel" } }, "daemon": { "data": { "cache": "/var/lib/pufferpanel/cache", "servers": "/var/lib/pufferpanel/servers" } } }...
``` Bad Gateway, is PufferPanel running? (502) Endpoint: get /api/config Authorization Header: Bearer Stacktrace: Error: Request failed with status code 502 at t.exports (http://xxxxxx:8080/js/chunk-vendors.105dfe0b.js:7:70541) at t.exports (http://xxxxxx:8080/js/chunk-vendors.105dfe0b.js:20:56819) at XMLHttpRequest.p.onreadystatechange (http://xxxxxxx:8080/js/chunk-vendors.105dfe0b.js:37:46377)...
``` Failed to load resource: the server responded with a status of 502 (Bad Gateway) app.2a38c1c2.js:1 ERROR Error: Request failed with status code 502 at t.exports (chunk-vendors.105dfe0b.js:7:70541) at t.exports (chunk-vendors.105dfe0b.js:20:56819)...
``` 2022/01/27 08:05:13 /home/runner/work/PufferPanel/PufferPanel/database/migrate.go:16 Error 1091: Can't DROP 'uix_servers_name'; check that column/key exists [209.343ms] [rows:0] DROP INDEX `uix_servers_name` ON `servers` [DEBUG] 2022/01/27 08:05:13 removing unique key for server.name with err...
[2022-01-27T08-12-45.log](https://github.com/PufferPanel/PufferPanel/files/7950679/2022-01-27T08-12-45.log)
When I delete the sqlte database and restart it, it still can't be solved