unjs / serve-placeholder Goto Github PK
View Code? Open in Web Editor NEW♡ Smart placeholder for missing assets
License: MIT License
♡ Smart placeholder for missing assets
License: MIT License
比如以下链接 http://test.cc.com/?ADTAG=g.map
会返回404返回码
Or add some customisation point for setting response headers.
My CDN assumes responses w/o cache-control headers is cacheable and that breaks deploys since 404d bundles get stuck in cache during rollout.
I am using nuxt.js programatically with the koa framework.
Should I call the placeholder middleware before or after calling the nuxt render method?
While running npm audit on recent nuxt setup there was an issue shown with the package default deep. currently shows no updated fix for that package.
Hey, have problem where I must change config a bit, but I don't know how I can do it, somehow inside nuxt.config.js ?
Thanks for any advice! :D
Got it: https://nuxtjs.org/api/configuration-render#fallback
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
c8
, defu
, h3
, listhen
, ohmyfetch
, pnpm
, vitest
).github/workflows/ci.yml
actions/checkout v3
actions/setup-node v3
codecov/codecov-action v3
package.json
defu ^6.0.0
c8 ^7.11.0
h3 ^0.7.2
listhen ^0.2.8
ohmyfetch ^0.4.15
vitest ^0.9.2
pnpm 6.32.4
I'm on node version 12.6.0
Getting error shown in the image everytime in IE11.
package.json looks like this
"dependencies": {
"@nuxtjs/auth": "^4.8.4",
"@nuxtjs/axios": "^5.6.0",
"array-from-polyfill": "^1.0.1",
"axios": "^0.18.0",
"chart.js": "^2.8.0",
"chartjs-plugin-datalabels": "^0.6.0",
"cookieparser": "^0.1.0",
"cors": "^2.8.5",
"cross-env": "^5.2.0",
"crypto-js": "^3.1.9-1",
"csvtojson": "^2.0.8",
"dotenv": "^7.0.0",
"es6-promise": "^4.2.6",
"express": "^4.16.4",
"jquery": "^3.4.1",
"js-cookie": "^2.2.0",
"loadash": "^1.0.0",
"moment": "^2.24.0",
"moment-timezone": "^0.5.25",
"nuxt": "^2.5.1",
"nuxt-polyfill": "^1.0.3",
"qs": "^6.7.0",
"vue-mq": "^1.0.1",
"vue2-datepicker": "^2.8.0",
"vuejs-paginate2": "^2.2.1",
"vuetable-2": "^2.0.0-beta.4",
"vuex": "^3.1.0"
},
"devDependencies": {
"babel-eslint": "^10.0.1",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-vue": "^5.2.2",
"node-sass": "^4.12.0",
"nodemon": "^1.18.9",
"prettier": "^1.16.4",
"sass-loader": "^8.0.0"
}
http://egame.qq.com/?ADTAG=g.map
打开http://egame.qq.com/?ADTAG=g.map 返回404
打开http://egame.qq.com/?ADTAG=g 正确返回
serve-placeholder组件处理url时没有正确处理查询参数,导致查询参数命中规则
The serve-placeholder component does not correctly process the query parameters when processing the url, resulting in query parameter hit rules.
正确返回
Return correctly
返回404
Return 404
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.