This is my current setup.
// next.config.js
const withImages = require("next-images");
module.exports = withImages({
webpack(config, options) {
return config;
},
});
I want to add this code to allow images from the domain localhost:3001
.
images: {
domains: ['localhost:3001'],
},
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…