【发布时间】:2020-09-13 08:43:55
【问题描述】:
我的 index.js 中有这段代码
const config = require('./config.json');
我的 config.json 的内容是
{
"default_prefix": "?"
}
但我收到一个错误:TypeError: Only absolute URLs are supported。是什么导致了错误?
如果我必须显示更多代码,请在 cmets 中询问我。
【问题讨论】:
标签: javascript node.js