Merge pull request #1529 from ariaieboy/patch-1

Update RealtimeLog to decode the urls
This commit is contained in:
Mike Cao 2022-09-19 17:39:34 -07:00 committed by GitHub
commit 3932583bc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -71,7 +71,7 @@ or change the [port](https://nextjs.org/docs/api-reference/cli#production) to se
To build the umami container and start up a Postgres database, run:
```bash
docker-compose up
docker compose up
```
Alternatively, to pull just the Umami Docker image with PostgreSQL support:
@ -97,8 +97,8 @@ yarn build
To update the Docker image, simply pull the new images and rebuild:
```bash
docker-compose pull
docker-compose up --force-recreate
docker compose pull
docker compose up --force-recreate
```
## License

View File

@ -15,6 +15,7 @@ import Visitor from 'assets/visitor.svg';
import Eye from 'assets/eye.svg';
import { stringToColor } from 'lib/format';
import { dateFormat } from 'lib/date';
import { safeDecodeURI } from 'next-basics';
import styles from './RealtimeLog.module.css';
const TYPE_ALL = 0;
@ -113,7 +114,7 @@ export default function RealtimeLog({ data, websites, websiteId }) {
target="_blank"
rel="noreferrer noopener"
>
{url}
{safeDecodeURI(url)}
</a>
);
}

View File

@ -12,12 +12,11 @@
"scripts": {
"dev": "next dev",
"build": "npm-run-all build-db check-db build-tracker build-geo build-app",
"start": "start-next",
"start": "next start",
"build-docker": "npm-run-all build-db build-tracker build-geo build-app",
"start-docker": "npm-run-all check-db update-tracker start-server",
"start-env": "node scripts/start-env.js",
"start-server": "node server.js",
"start-next": "next start",
"build-app": "next build",
"build-tracker": "rollup -c rollup.tracker.config.js",
"build-db": "npm-run-all copy-db-files build-db-client",