Chris

Results 32 comments of Chris

@yihong0618 @orionna319 看起來確實如 https://github.com/yihong0618/running_page/issues/643#issuecomment-2041976662 所說不用重構專案,但需要根據 https://github.com/yihong0618/running_page/issues/643#issuecomment-2042668580 更新`README.md` / 於`src/utils/const.ts`對應位置上新添加提示 command

> 当然比较好的处理方式是,`MAPBOX_TOKEN`放在`settings/secrets`下,然后再设置`Mapbox-URLs`。 @orionna319 如果你上面那段(關於`Mapbox-URLs`這看不大懂)指的是 https://stackoverflow.com/questions/21939713/hide-api-key-for-a-github-page/61857467#61857467 : 確實,資安不求完美但也不嫌多,這樣的做法雖說不能避免 Client 端從瀏覽器開發者工具看到 Mapbox token,但確實能避免明碼將 token 寫在 repo 中(滿足包含我在內一部分對資安比較敏感開發者的強迫症 🤣)。