@vercel/queue 0.0.0-alpha.19 → 0.0.0-alpha.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/local-discover.js +0 -5
- package/package.json +1 -1
package/bin/local-discover.js
CHANGED
|
@@ -95,11 +95,6 @@ function readVercelConfig(configPath = "./vercel.json") {
|
|
|
95
95
|
* Make OPTIONS requests to trigger Next.js lazy loading
|
|
96
96
|
*/
|
|
97
97
|
async function discoverQueueHandlers(options = {}) {
|
|
98
|
-
if (process.env.NODE_ENV !== "development") {
|
|
99
|
-
console.log("[Dev Mode] Not in development mode, skipping discovery");
|
|
100
|
-
return;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
98
|
const baseUrl = options.baseUrl || "http://localhost:3000";
|
|
104
99
|
const configPath = options.configPath || "./vercel.json";
|
|
105
100
|
|