Skip to content

Commit

Permalink
Merge branch 'webapp-addruntime-config-fix' of https://github.com/met…
Browse files Browse the repository at this point in the history
…eor/meteor into webapp-addruntime-config-fix
  • Loading branch information
nachocodoner committed May 22, 2024
2 parents cb78cb9 + af4790e commit c61cbcc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 16 deletions.
2 changes: 1 addition & 1 deletion npm-packages/meteor-installer/config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const os = require('os');
const path = require('path');

const METEOR_LATEST_VERSION = '3.0-rc.1';
const METEOR_LATEST_VERSION = '3.0-rc.2';
const sudoUser = process.env.SUDO_USER || '';
function isRoot() {
return process.getuid && process.getuid() === 0;
Expand Down
2 changes: 1 addition & 1 deletion npm-packages/meteor-installer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "meteor",
"version": "3.0.0-rc.1",
"version": "3.0.0-rc.2",
"description": "Install Meteor",
"main": "install.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/deprecated/spiderable/package.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package.describe({
summary: "Makes the application crawlable to web spiders",
version: "1.1.0-alpha300.5",
version: "1.1.0-alpha300.6",
deprecated: true,
documentation: 'README.md'
});
Expand Down
5 changes: 2 additions & 3 deletions packages/deprecated/spiderable/spiderable_server.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,8 @@ Spiderable._urlForPhantom = function (siteAbsoluteUrl, requestUrl) {
return urlParser.format(parsedAbsoluteUrl);
};

var PHANTOM_SCRIPT = Assets.getText("phantom_script.js");

WebApp.handlers.use(function (req, res, next) {
WebApp.handlers.use(async function (req, res, next) {
var PHANTOM_SCRIPT = await Assets.getTextAsync("phantom_script.js");
// _escaped_fragment_ comes from Google's AJAX crawling spec:
// https://developers.google.com/webmasters/ajax-crawling/docs/specification
if (/\?.*_escaped_fragment_=/.test(req.url) ||
Expand Down
10 changes: 0 additions & 10 deletions packages/webapp/.npm/package/npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c61cbcc

Please sign in to comment.