Skip to content
This repository has been archived by the owner on Jul 27, 2024. It is now read-only.

Commit

Permalink
fix: version
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-0acf4 committed May 28, 2024
1 parent b90c5cd commit b1b94b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
</p>

Rokahon (or ローカル本) is a simple server for your local gallery, you can
browse local files through apps similar to Mihon or use it as a simple REST server.
browse local files through apps similar to Mihon or use it as a simple REST
server.

## Rokahon server

Expand All @@ -15,6 +16,7 @@ For example, with the configuration..

```json
{
"VERSION": "0.1.0",
"PORT": 1770,
"CACHE": true,
"LIBRARY_ROOT": [
Expand Down
4 changes: 2 additions & 2 deletions rokahon-server/src/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ export function comparePath(a: string, b: string): number {
}

/**
* Attempt to sort in numerical order in ascending order,
* otherwise try to order from recent to old
* Attempt to sort numerically from low to high,
* otherwise from recent to old
*/
export function comparePathByNumOrder(a: string, b: string): number {
const locale = a.localeCompare(b);
Expand Down

0 comments on commit b1b94b3

Please sign in to comment.