Skip to content

Commit 3dec0a5

Browse files
authored
Merge pull request #90 from DataDog/arosenkranz/proxy-fix
fixes nginx name and handles frontend error
2 parents c86c72f + 6e973e3 commit 3dec0a5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ services:
184184
image: ghcr.io/datadog/storedog/puppeteer:${STOREDOG_IMAGE_VERSION:-latest}
185185
platform: linux/amd64
186186
environment:
187-
- STOREDOG_URL=${STOREDOG_URL:-http://nginx:80}
187+
- STOREDOG_URL=${STOREDOG_URL:-http://service-proxy:80}
188188
- PUPPETEER_TIMEOUT=${PUPPETEER_TIMEOUT:-30000}
189189
networks:
190190
- storedog-network

services/frontend/components/common/Footer/Footer.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const links = [
2222
const Footer: FC<Props> = ({ className, pages = [] }) => {
2323
const rootClassName = cn(s.root, className)
2424

25+
const linkList = pages?.length > 0 ? [...links, ...pages] : links
2526
return (
2627
<footer className={rootClassName}>
2728
<Container>
@@ -37,7 +38,7 @@ const Footer: FC<Props> = ({ className, pages = [] }) => {
3738
</div>
3839
<div className="col-span-1 lg:col-span-8">
3940
<div className="grid md:grid-rows-4 md:grid-cols-3 md:grid-flow-col">
40-
{[...links, ...pages].map((page) => (
41+
{linkList.map((page) => (
4142
<span key={page.name} className="py-3 md:py-0 md:pb-4">
4243
<Link href={page.url!}>
4344
<a className="text-accent-9 hover:text-accent-6 transition ease-in-out duration-150 footer-link">

0 commit comments

Comments
 (0)