Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update online DPDB URL #220

Merged
merged 4 commits into from
Apr 20, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/dpdb/dpdb.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ var DPDB_CACHE = require('./dpdb-cache.js');
var Util = require('../util.js');

// Online DPDB URL.
var ONLINE_DPDB_URL = 'https://storage.googleapis.com/cardboard-dpdb/dpdb.json';
var ONLINE_DPDB_URL =
'https://rawgit.com/thoragio/webvr-polyfill-dpdb/master/dpdb.json';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would you be able to publish the master branch of https://github.com/thoragio/webvr-polyfill-dpdb to GitHub Pages so it's served from https://thoragio.github.io/webvr-polyfill-dpdb? (the benefit is the caching is better on GitHub Pages than on RawGit.)

not absolutely necessary for this pass, but if you can easily do it, lmk. otherwise, we can probably still merge this (per @toji's approval).

Copy link
Contributor Author

@thoragio thoragio Apr 17, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I have added a second commit that serves the file from GitHub Pages.


/**
* Calculates device parameters based on the DPDB (Device Parameter Database).
Expand Down