diff --git a/README.md b/README.md index 2b8517bf..ce9f2bfe 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/components/metrics/RealtimeLog.js b/components/metrics/RealtimeLog.js index b6d3dad7..db53ffd0 100644 --- a/components/metrics/RealtimeLog.js +++ b/components/metrics/RealtimeLog.js @@ -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)} ); } diff --git a/package.json b/package.json index 9ad9422c..edec73e7 100644 --- a/package.json +++ b/package.json @@ -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",