DEV: Add favicon to dev ember proxy (#18228)
One less console warning in tests
This commit is contained in:
parent
5c0f770f0f
commit
761864d4f4
|
@ -462,6 +462,11 @@ to serve API requests. For example:
|
|||
|
||||
const rawMiddleware = express.raw({ type: () => true, limit: "100mb" });
|
||||
|
||||
app.use(
|
||||
"/favicon.ico",
|
||||
express.static(path.join(__dirname, "../../../../images/favicon.ico"))
|
||||
);
|
||||
|
||||
app.use(rawMiddleware, async (req, res, next) => {
|
||||
try {
|
||||
if (this.shouldForwardRequest(req)) {
|
||||
|
|
Loading…
Reference in New Issue