Skip to content

Commit

Permalink
bug: wrong path for unkonw release
Browse files Browse the repository at this point in the history
  • Loading branch information
aeltorio committed Jun 12, 2024
1 parent d594c4d commit b3d17eb
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1907,7 +1907,7 @@ async fn software_releases_latest(request: ExtendedRequest) -> Redirect {
.await
.map_err(|e| status::NotFound(Box::new(e)));
if version.is_err() {
return Redirect::to(format!("{}/api/software/releases/0.0.0", host));
return Redirect::to(format!("{}/api/software/releases/tag/0.0.0", host));
}
let version = version.unwrap();
let url = format!("{}/api/software/releases/tag/{}", host, version);
Expand Down
48 changes: 24 additions & 24 deletions webconsole/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,44 +4,44 @@
"version": "1.1.99-32",
"type": "module",
"scripts": {
"create-cert": "openssl req -x509 -newkey rsa:4096 -keyout localhost.key -out localhost.pem -sha256 -nodes -days 365",
"dev": "vite",
"devserver": "npx nodemon -V -w ./src -e js,vue,ts,css,html --exec 'npm run build && node devserver.js'",
"build": "vite build && gulp licenses",
"preview": "vite preview",
"build": "vite build && gulp licenses"
"devserver": "npx nodemon -V -w ./src -e js,vue,ts,css,html --exec 'npm run build && node devserver.js'",
"dev": "vite",
"create-cert": "openssl req -x509 -newkey rsa:4096 -keyout localhost.key -out localhost.pem -sha256 -nodes -days 365"
},
"dependencies": {
"@headlessui/vue": "^1.7.22",
"jdenticon": "^3.3.0",
"axios": "^1.7.2",
"@pqina/flip": "^1.8.3",
"vue": "^3.4.27",
"pinia": "^2.1.7",
"@heroicons/vue": "^2.1.3",
"pinia": "^2.1.7",
"@pqina/flip": "^1.8.3",
"axios": "^1.7.2",
"jdenticon": "^3.3.0",
"chart.js": "^4.4.3",
"vue": "^3.4.27",
"vue-router": "^4.3.3"
},
"devDependencies": {
"tailwindcss": "^3.4.4",
"@tailwindcss/forms": "^0.5.7",
"@types/glob": "^8.1.0",
"postcss": "^8.4.38",
"npm-check-updates": "^16.14.20",
"gulp-if": "^3.0.0",
"postcss-purgefonts": "^1.0.2",
"glob": "10.4.1",
"gulp-if": "^3.0.0",
"express": "^4.19.2",
"@fullhuman/postcss-purgecss": "^6.0.0",
"autoprefixer": "^10.4.19",
"ts-node": "^10.9.2",
"vite": "^5.2.13",
"@vitejs/plugin-vue": "^5.0.5",
"gulp": "^5.0.0",
"typescript": "^5.4.5",
"@tailwindcss/typography": "^0.5.13",
"tailwindcss": "^3.4.4",
"ts-node": "^10.9.2",
"npm-check-updates": "^16.14.20",
"gulp-append-prepend": "^1.0.9",
"@tailwindcss/forms": "^0.5.7",
"vite-plugin-static-copy": "^1.0.5",
"autoprefixer": "^10.4.19",
"@fullhuman/postcss-purgecss": "^6.0.0",
"postcss": "^8.4.38",
"typescript": "^5.4.5",
"nodemon": "^3.1.3",
"gulp-append-prepend": "^1.0.9",
"@tailwindcss/typography": "^0.5.13",
"vite": "^5.2.13",
"glob": "10.4.1",
"gulp": "^5.0.0",
"@types/glob": "^8.1.0",
"sass": "^1.77.5"
}
}

0 comments on commit b3d17eb

Please sign in to comment.