diff --git a/components/random-texture.js b/components/random-texture.js index 28788e1..dbf50c5 100644 --- a/components/random-texture.js +++ b/components/random-texture.js @@ -11,11 +11,11 @@ AFRAME.registerComponent('random-texture', { function getRandomTexture() { var textures = [ - "https://cdn.glitch.com/a9cf685c-2976-4393-9e68-47d675fe9b0d%2Fbrick.png?1504356125032", - "https://cdn.glitch.com/a9cf685c-2976-4393-9e68-47d675fe9b0d%2Fcobblestone.png?1504356131091", - "https://cdn.glitch.com/a9cf685c-2976-4393-9e68-47d675fe9b0d%2Fplanks_oak.png?1504356138770", - "https://cdn.glitch.com/a9cf685c-2976-4393-9e68-47d675fe9b0d%2Fcrafting_table_top.png?1504356138979", - "https://cdn.glitch.com/a9cf685c-2976-4393-9e68-47d675fe9b0d%2Fglass_light_blue.png?1504356139198" + "https://raw.githubusercontent.com/OpenLabsHackerspace/a-craft/master/textures/brick.png", + "https://raw.githubusercontent.com/OpenLabsHackerspace/a-craft/master/textures/cobblestone.png", + "https://raw.githubusercontent.com/OpenLabsHackerspace/a-craft/master/textures/planks_oak.png", + "https://raw.githubusercontent.com/OpenLabsHackerspace/a-craft/master/textures/crafting_table_top.png", + "https://raw.githubusercontent.com/OpenLabsHackerspace/a-craft/master/textures/glass_light_blue.png" ]; var texture = textures[Math.floor(Math.random() * textures.length)]; return texture;