Use relative paths

// FREEBIE
This commit is contained in:
lilia
2017-03-07 16:54:46 -08:00
committed by Scott Nonnenberg
parent 95e809636a
commit 859d49b3f4
21 changed files with 106 additions and 106 deletions

View File

@@ -4,7 +4,7 @@
window.textsecure.protobuf = {};
function loadProtoBufs(filename) {
return dcodeIO.ProtoBuf.loadProtoFile({root: '/protos', file: filename}, function(error, result) {
return dcodeIO.ProtoBuf.loadProtoFile({root: 'protos', file: filename}, function(error, result) {
var protos = result.build('textsecure');
for (var protoName in protos) {
textsecure.protobuf[protoName] = protos[protoName];