Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit b370d35

Browse files
committed
Remove protocol from links and update 'Did this help' section on index.jade
1 parent 79ca9fd commit b370d35

File tree

1 file changed

+21
-23
lines changed

1 file changed

+21
-23
lines changed

tutorial/index.jade

+21-23
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,37 @@
33
:markdown
44
## What does this thing do?
55

6-
This [Express.js](http://expressjs.com/) sample application
6+
This [Express.js](//expressjs.com/) sample application
77
demonstrates how to send SMS alerts to a list of system
88
administrators if something goes wrong on your server. In this
99
tutorial, we'll show you the key bits of code to make this work.
1010
Head to the [application's
11-
README.md](https://github.com/TwilioDevEd/server-notifications-node)
11+
README.md](//github.com/TwilioDevEd/server-notifications-node)
1212
to see how to run the application locally.
1313

1414
Let's get started!
1515

1616
---
1717

1818
**See Also:**
19-
* [Getting started with Express.js](http://expressjs.com/starter/hello-world.html)
20-
* [twilio-node library](http://twilio.github.io/twilio-node/)
19+
* [Getting started with Express.js](//expressjs.com/starter/hello-world.html)
20+
* [twilio-node library](//twilio.github.io/twilio-node/)
2121

2222
.step(data-file='config.js', data-highlight='23-45')
2323
:markdown
2424
## Configure Twilio client
2525

2626
In order to send messages we'll need to create a [Twilio REST
27-
client](http://twilio.github.io/twilio-node/#quickstart), which
27+
client](//twilio.github.io/twilio-node/#quickstart), which
2828
requires reading our `TWILIO_ACCOUNT_SID`, `TWILIO_NUMBER`
2929
`TWILIO_AUTH_TOKEN` from the enviroment. We also make the
3030
variables available through the `config` module.
3131

3232
---
3333

3434
**See Also:**
35-
* [twilio-node Quickstart](http://twilio.github.io/twilio-node/#quickstart)
36-
* [Twilio REST Web Service Interface](https://www.twilio.com/docs/api/rest)
35+
* [twilio-node Quickstart](//twilio.github.io/twilio-node/#quickstart)
36+
* [Twilio REST Web Service Interface](//www.twilio.com/docs/api/rest)
3737

3838
.step(data-file='config/administrators.json')
3939
:markdown
@@ -49,20 +49,20 @@
4949

5050
We will implement error handling and message delivery as a piece
5151
of [Express.js
52-
middleware](http://expressjs.com/guide/using-middleware.html). We
52+
middleware](//expressjs.com/guide/using-middleware.html). We
5353
will make all the Twilio API calls from there.
5454

5555
---
5656

5757
**See Also:**
58-
* [Error handling middleware](http://expressjs.com/guide/using-middleware.html#middleware.error-handling)
58+
* [Error handling middleware](//expressjs.com/guide/using-middleware.html#middleware.error-handling)
5959

6060
.step(data-file='middleware/twilioNotifications.js')
6161
:markdown
6262
## Trigger notifications for administrator list
6363

6464
In our Express middleware module, we read the admins from our JSON file
65-
and send alert messages to each of them with the `sendSms` method in
65+
and send alert messages to each of them with the `sendSms` method in
6666
`twilioClient`. We also call `next` with the error object, which will
6767
allow other configured error handling middleware to execute.
6868

@@ -71,43 +71,41 @@
7171
## Send a text message
7272

7373
There are the three parameters needed to [send an
74-
SMS](http://twilio.github.io/twilio-node/#moreexamples)
74+
SMS](//twilio.github.io/twilio-node/#moreexamples)
7575
using the [Twilio REST
76-
API](https://www.twilio.com/docs/api/rest): `From`, `To`, and
76+
API](//www.twilio.com/docs/api/rest): `From`, `To`, and
7777
`Body`. [US and Canadian phone
78-
numbers](https://www.twilio.com/help/faq/sms/is-mms-supported-for-all-carriers-in-us-and-canada)
78+
numbers](//www.twilio.com/help/faq/sms/is-mms-supported-for-all-carriers-in-us-and-canada)
7979
can also send an image with the message.
8080

8181
---
8282

8383
**See Also:**
84-
* [REST API Docs for Message resource](https://www.twilio.com/docs/api/rest/message)
85-
* [Your message logs in the account portal](https://www.twilio.com/user/account/log/messages)
84+
* [REST API Docs for Message resource](//www.twilio.com/docs/api/rest/message)
85+
* [Your message logs in the account portal](//www.twilio.com/user/account/log/messages)
8686

8787
.step
8888
:markdown
8989
## Where to next?
9090

91-
That's it! We've just implemented an automated server notification system
91+
That's it! We've just implemented an automated server notification system
9292
that can send you server alerts if anything goes wrong. If you're a Node.js
9393
developer working with Twilio, you might want to check out these other
9494
tutorials.
9595

96-
[**Two-Factor Authentication**](https://www.twilio.com/docs/howto/walkthrough/two-factor-authentication/node/express)
96+
[**Two-Factor Authentication**](//www.twilio.com/docs/howto/walkthrough/two-factor-authentication/node/express)
9797

9898
Increase the security of your login system by verifying a user's mobile
9999
phone in addition to their password.
100100

101-
[**SMS and MMS marketing notifications**](https://www.twilio.com/docs/howto/walkthrough/marketing-notifications/node/express)
101+
[**SMS and MMS marketing notifications**](//www.twilio.com/docs/howto/walkthrough/marketing-notifications/node/express)
102102

103103
SMS and MMS messages are a personal way to engage with users, offering
104104
a much higher open rate than e-mail and more impact than a tweet.
105105

106106

107-
108107
### Did this help?
109108

110-
Thanks for checking out this tutorial! If you have any feedback to share
111-
with us, we'd love to hear it. Tweet [@twilio](http://twitter.com/twilio)
112-
to let us know what you think.
113-
109+
Thanks for checking out this tutorial! If you have any feedback
110+
to share with us, we'd love to hear it. [Contact the Twilio Developer
111+
Education Team](mailto:[email protected]) to let us know what you think.

0 commit comments

Comments
 (0)