Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/lambda-function-url/packages/ui/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Amplify.configure({

axios.defaults.baseURL = process.env.NEXT_PUBLIC_ApiEndpoint

// Set Authorization header on all requests if user is signed in; othwerise, redirect to login page
// Set Authorization header on all requests if user is signed in; otherwise, redirect to login page
axios.interceptors.request.use(async (config) => {
try {
const authSession = await fetchAuthSession()
Expand Down
4 changes: 2 additions & 2 deletions examples/sails-example/assets/dependencies/sails.io.js
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ return new(b[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(
* A wrapper for an underlying Socket instance that communicates directly
* to the Socket.io server running inside of Sails.
*
* If no `socket` option is provied, SailsSocket will function as a mock. It will queue socket
* If no `socket` option is provided, SailsSocket will function as a mock. It will queue socket
* requests and event handler bindings, replaying them when the raw underlying socket actually
* connects. This is handy when we don't necessarily have the valid configuration to know
* WHICH SERVER to talk to yet, etc. It is also used by `io.socket` for your convenience.
Expand Down Expand Up @@ -869,7 +869,7 @@ return new(b[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(
(function selfInvoking (cb){

// If this is an attempt at a cross-origin or cross-port
// socket connection via a browswe, send a JSONP request
// socket connection via a browser, send a JSONP request
// first to ensure that a valid cookie is available.
// This can be disabled by setting `io.sails.useCORSRouteToGetCookie`
// to false.
Expand Down
2 changes: 1 addition & 1 deletion examples/sails-example/config/env/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ module.exports = {
* If, in production, this app has access to physical-layer CASCADE *
* constraints (e.g. PostgreSQL or MySQL), then set those up in the *
* database and uncomment this to disable Waterline's `cascadeOnDestroy` *
* polyfill. (Otherwise, if you are using a databse like Mongo, you might *
* polyfill. (Otherwise, if you are using a database like Mongo, you might *
* choose to keep this enabled.) *
* *
***************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion examples/sails-example/views/500.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ html,body{text-align:left;font-size:1em}html,body,img,form,textarea,input,fields
<% } else { %>
<p class="error">
A team of highly trained sea bass is working on this as we speak.<br/>
If the problem persists, please <a href="https://sailsjs.com/contact">contact the system administrator</a> and inform them of the time that the error occured, and anything you might have done that may have caused the error.
If the problem persists, please <a href="https://sailsjs.com/contact">contact the system administrator</a> and inform them of the time that the error occurred, and anything you might have done that may have caused the error.
</p>
<% } %>

Expand Down