大暑
Elysia 的 context.server 為什麼是 undefined?一次 requestIP 回傳 null 的除錯紀錄
幫留言功能加上「IP 歸屬地」時,server.requestIP() 在本機一直拿到 null。追下去才發現兇手是 Elysia 的 sucrose 靜態分析,而且 dev 跟 compiled binary 行為還不一樣。
Search posts and notes…
If it is not written down, it was not really thought through.
幫留言功能加上「IP 歸屬地」時,server.requestIP() 在本機一直拿到 null。追下去才發現兇手是 Elysia 的 sucrose 靜態分析,而且 dev 跟 compiled binary 行為還不一樣。