|
4 | 4 | angular.module('insight').config(function($routeProvider) {
|
5 | 5 | $routeProvider.
|
6 | 6 | when('/block/:blockHash', {
|
7 |
| - templateUrl: '/views/block.html', |
| 7 | + templateUrl: 'views/block.html', |
8 | 8 | title: 'Bitcoin Block '
|
9 | 9 | }).
|
10 | 10 | when('/block-index/:blockHeight', {
|
11 | 11 | controller: 'BlocksController',
|
12 |
| - templateUrl: '/views/redirect.html' |
| 12 | + templateUrl: 'views/redirect.html' |
13 | 13 | }).
|
14 | 14 | when('/tx/send', {
|
15 |
| - templateUrl: '/views/transaction_sendraw.html', |
| 15 | + templateUrl: 'views/transaction_sendraw.html', |
16 | 16 | title: 'Broadcast Raw Transaction'
|
17 | 17 | }).
|
18 | 18 | when('/tx/:txId/:v_type?/:v_index?', {
|
19 |
| - templateUrl: '/views/transaction.html', |
| 19 | + templateUrl: 'views/transaction.html', |
20 | 20 | title: 'Bitcoin Transaction '
|
21 | 21 | }).
|
22 | 22 | when('/', {
|
23 |
| - templateUrl: '/views/index.html', |
| 23 | + templateUrl: 'views/index.html', |
24 | 24 | title: 'Home'
|
25 | 25 | }).
|
26 | 26 | when('/blocks', {
|
27 |
| - templateUrl: '/views/block_list.html', |
| 27 | + templateUrl: 'views/block_list.html', |
28 | 28 | title: 'Bitcoin Blocks solved Today'
|
29 | 29 | }).
|
30 | 30 | when('/blocks-date/:blockDate/:startTimestamp?', {
|
31 |
| - templateUrl: '/views/block_list.html', |
| 31 | + templateUrl: 'views/block_list.html', |
32 | 32 | title: 'Bitcoin Blocks solved '
|
33 | 33 | }).
|
34 | 34 | when('/address/:addrStr', {
|
35 |
| - templateUrl: '/views/address.html', |
| 35 | + templateUrl: 'views/address.html', |
36 | 36 | title: 'Bitcoin Address '
|
37 | 37 | }).
|
38 | 38 | when('/status', {
|
39 |
| - templateUrl: '/views/status.html', |
| 39 | + templateUrl: 'views/status.html', |
40 | 40 | title: 'Status'
|
41 | 41 | }).
|
42 | 42 | when('/messages/verify', {
|
43 |
| - templateUrl: '/views/messages_verify.html', |
| 43 | + templateUrl: 'views/messages_verify.html', |
44 | 44 | title: 'Verify Message'
|
45 | 45 | })
|
46 | 46 | .otherwise({
|
47 |
| - templateUrl: '/views/404.html', |
| 47 | + templateUrl: 'views/404.html', |
48 | 48 | title: 'Error'
|
49 | 49 | });
|
50 | 50 | });
|
|
0 commit comments