TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Repro – an open-source bug reporting and debugging tool for web apps

2 点作者 gary_chambers大约 2 年前

1 comment

mdaniel大约 2 年前
Foremost, thanks for choosing a business friendly license. I know that statement is going to ruffle feathers, but I&#x27;m still grateful. I&#x27;m also grateful for you choosing postgresql<p>You will want to strongly consider pinning a node version since it&#x27;s a <i>huge list</i> of possible values that can go there: <a href="https:&#x2F;&#x2F;github.com&#x2F;reprohq&#x2F;repro&#x2F;blob&#x2F;main&#x2F;apps&#x2F;api-server&#x2F;Dockerfile#L1">https:&#x2F;&#x2F;github.com&#x2F;reprohq&#x2F;repro&#x2F;blob&#x2F;main&#x2F;apps&#x2F;api-server&#x2F;D...</a> (it certainly looks like `node:18` is the correct one based on <a href="https:&#x2F;&#x2F;github.com&#x2F;reprohq&#x2F;repro&#x2F;blob&#x2F;main&#x2F;.tool-versions#L1">https:&#x2F;&#x2F;github.com&#x2F;reprohq&#x2F;repro&#x2F;blob&#x2F;main&#x2F;.tool-versions#L1</a> )<p>Also, please don&#x27;t hard-code AWS credential configurations like this; if you&#x27;re using the AWS sdk it automatically supports a wide range of credential discovery mechanisms, which certainly includes those famous env-vars, but by <i>not</i> hard-coding that it allows the server to work correctly in a lot more diverse configurations (EKS, IMDSv2, AWS_PROFILE, etc): <a href="https:&#x2F;&#x2F;github.com&#x2F;reprohq&#x2F;repro&#x2F;blob&#x2F;main&#x2F;apps&#x2F;api-server&#x2F;src&#x2F;index.ts#L67-L70">https:&#x2F;&#x2F;github.com&#x2F;reprohq&#x2F;repro&#x2F;blob&#x2F;main&#x2F;apps&#x2F;api-server&#x2F;s...</a>