Site URL: https://www.norwoodbaptistchurchri.org
I have uploaded a text file (LastService.txt) and I am now trying to read the contents of it using JavaScript.
Here is a snippet of code. I get an error because JavaScript doesn't find the page. I commented everything else out so I believe I don't have the right path to the text file.
<script type="text/javascript">
function readTextFile() {
var rawFile = new XMLHttpRequest();
var filepath = 'https://www.norwoodbaptistchurchri.org/s/LastService.txt';
rawFile.open('GET', filepath, true);