From 448cb84128d739c5fc6ec2e5d5d002c8cb252813 Mon Sep 17 00:00:00 2001 From: Noritaka Kobayashi Date: Wed, 13 Aug 2025 15:05:25 +0900 Subject: [PATCH] chore: fix typos --- examples/lambda-function-url/packages/ui/pages/_app.tsx | 2 +- examples/sails-example/assets/dependencies/sails.io.js | 4 ++-- examples/sails-example/config/env/production.js | 2 +- examples/sails-example/views/500.ejs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/lambda-function-url/packages/ui/pages/_app.tsx b/examples/lambda-function-url/packages/ui/pages/_app.tsx index 7c95e39d..3df5b1f2 100644 --- a/examples/lambda-function-url/packages/ui/pages/_app.tsx +++ b/examples/lambda-function-url/packages/ui/pages/_app.tsx @@ -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() diff --git a/examples/sails-example/assets/dependencies/sails.io.js b/examples/sails-example/assets/dependencies/sails.io.js index 6c134c22..84543157 100644 --- a/examples/sails-example/assets/dependencies/sails.io.js +++ b/examples/sails-example/assets/dependencies/sails.io.js @@ -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. @@ -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. diff --git a/examples/sails-example/config/env/production.js b/examples/sails-example/config/env/production.js index ddd87ca1..e42b0b87 100644 --- a/examples/sails-example/config/env/production.js +++ b/examples/sails-example/config/env/production.js @@ -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.) * * * ***************************************************************************/ diff --git a/examples/sails-example/views/500.ejs b/examples/sails-example/views/500.ejs index 74523f55..9c959995 100644 --- a/examples/sails-example/views/500.ejs +++ b/examples/sails-example/views/500.ejs @@ -51,7 +51,7 @@ html,body{text-align:left;font-size:1em}html,body,img,form,textarea,input,fields <% } else { %>

A team of highly trained sea bass is working on this as we speak.
- If the problem persists, please contact the system administrator 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 contact the system administrator and inform them of the time that the error occurred, and anything you might have done that may have caused the error.

<% } %>